]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/backlight/l4f00242t03.c: use gpio_request_one() to simplify error handling
authorFabio Estevam <festevam@gmail.com>
Wed, 5 Oct 2011 00:43:31 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 6 Oct 2011 05:59:57 +0000 (16:59 +1100)
commit4063bebdd1d140ec984eb6c4a9886815ed7349ad
tree7e08361ad4e372d9a6b197ce23971b564029b626
parentaf570197ecd317e31c05422d6856746955894bfa
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>
drivers/video/backlight/l4f00242t03.c