Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755593Ab3JWByF (ORCPT ); Tue, 22 Oct 2013 21:54:05 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:47714 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755111Ab3JWByC (ORCPT ); Tue, 22 Oct 2013 21:54:02 -0400 X-AuditID: cbfee691-b7f866d000001b8c-29-52672c398aa8 From: Jingoo Han To: "'Johan Hovold'" Cc: "'Richard Purdie'" , "'Nicolas Ferre'" , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, "'Jingoo Han'" References: <1382462819-28576-1-git-send-email-jhovold@gmail.com> <1382462819-28576-10-git-send-email-jhovold@gmail.com> In-reply-to: <1382462819-28576-10-git-send-email-jhovold@gmail.com> Subject: Re: [PATCH 9/9] backlight: atmel-pwm-bl: use gpio_request_one Date: Wed, 23 Oct 2013 10:54:01 +0900 Message-id: <002101cecf92$bef81fb0$3ce85f10$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac7PS/WUl+zyDUZhRimolRiMFgVZGAARrdkw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIIsWRmVeSWpSXmKPExsVy+t8zfV1LnfQgg//bLC1eHtK0uLzwEqvF 3lXSFif6PrBaXN41h83i2+Vmdovdu56yOrB7LPi1lcVj56y77B575v9g9ejbsorR4/MmuQDW KC6blNSczLLUIn27BK6M3iVfWQrmMle0H7jO3MB4gamLkZNDQsBE4teZK+wQtpjEhXvr2boY uTiEBJYxSrzteskIUzRj1ydGiMR0Ronjrf9ZIZxfjBKT/31hAaliE1CT+PLlMNgoESD7Se8R dpAiZoFtjBInlu9jBkkICVRJPN66GqyIU8BZYtOafWArhAXcJD5fuA02iEVAVeJN01Q2EJtX wFbi7K5mRghbUOLH5HtgNcwCWhLrdx5ng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EWBPLiitzDzFKcDArifA2+wKFeFMSK6tSi/Lj i0pzUosPMSYDPTqRWUo0OR+YtvJK4g2NTcyMLI3MLIxMzM1JE1YS5z3Yah0oJJCeWJKanZpa kFoEs4WJg1OqgZF5rsa9xZce/LRpMr6xl2fqtKyj03L2bqndcfS337mnZzcVaSwxlfth+D37 o8hFPbk7ajcZZwRdOdXHceC7vHR/08WJf6V3O0XqG+0MuaxWXKWttuboXpfX2w+zH6x6E3JB SaTPzGjG4eW3Nm16UzRj7p+3Dx2OXymdWhrIw5P5wNo63Kb4778LSizFGYmGWsxFxYkALfBO YFEDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 642 Lines: 21 On Wednesday, October 23, 2013 2:27 AM, Johan Hovold wrote: > > Use devm_gpio_request_one rather than requesting and setting direction > in two calls. > > Signed-off-by: Johan Hovold Acked-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/backlight/atmel-pwm-bl.c | 15 ++++++++------- > 1 file changed, 8 insertions(+), 7 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/