Linux MM tree latest commits
 help / color / mirror / Atom feed
* [merged] backlight-lms283gf05-use-devm_gpio_request_one.patch removed from -mm tree
@ 2012-12-18 20:04 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2012-12-18 20:04 UTC (permalink / raw)
  To: jg1.han, marex, rpurdie, mm-commits


The patch titled
     Subject: backlight: lms283gf05: use devm_gpio_request_one
has been removed from the -mm tree.  Its filename was
     backlight-lms283gf05-use-devm_gpio_request_one.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Jingoo Han <jg1.han@samsung.com>
Subject: backlight: lms283gf05: use devm_gpio_request_one

By using devm_gpio_request_one it is possible to set the direction
and initial value in one shot. Thus, using devm_gpio_request_one
can make the code simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/video/backlight/lms283gf05.c |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff -puN drivers/video/backlight/lms283gf05.c~backlight-lms283gf05-use-devm_gpio_request_one drivers/video/backlight/lms283gf05.c
--- a/drivers/video/backlight/lms283gf05.c~backlight-lms283gf05-use-devm_gpio_request_one
+++ a/drivers/video/backlight/lms283gf05.c
@@ -158,13 +158,9 @@ static int lms283gf05_probe(struct spi_d
 	int ret = 0;
 
 	if (pdata != NULL) {
-		ret = devm_gpio_request(&spi->dev, pdata->reset_gpio,
-					"LMS285GF05 RESET");
-		if (ret)
-			return ret;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-18 20:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-18 20:04 [merged] backlight-lms283gf05-use-devm_gpio_request_one.patch removed from -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox