]> 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>
Wed, 12 Oct 2011 06:32:22 +0000 (17:32 +1100)
commit111d3dce9edb7a5cdc2463dcdddea1d930b78020
treed16514ecd092aa95d045f384c09ffc6acda86dcc
parentfc966f5102408a25c83db0ab618099ac4ca1f280
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