drivers/video/backlight/l4f00242t03.c: use gpio_request_one() to simplify error handling
authorFabio Estevam <festevam@gmail.com>
Tue, 1 Nov 2011 00:11:50 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Nov 2011 00:30:54 +0000 (17:30 -0700)
commit4f5a66b05971d6be08fd596139cd190758831686
tree1febd4df5b515c7694f43cd11c3490736f593e71
parent0556dc340e5159cdff925a5ab7f3a72f49745661
drivers/video/backlight/l4f00242t03.c: use gpio_request_one() to simplify error handling

Using gpio_request_one can make the error handling simpler.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/l4f00242t03.c