]> 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>
Tue, 11 Oct 2011 08:44:03 +0000 (19:44 +1100)
commitc10c4abefd4409161d8ccd59cdf51f6abf26f519
tree17bd5b83dae4d4250d4713cacf6dd0bd7e472c65
parentd99e0ca540660f68f5644c3ed332216d2f26adc7
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