leds: leds-gpio: use gpio_request_one
authorJingoo Han <jg1.han@samsung.com>
Tue, 23 Oct 2012 12:17:11 +0000 (05:17 -0700)
committerBryan Wu <cooloney@gmail.com>
Mon, 26 Nov 2012 22:28:43 +0000 (14:28 -0800)
commita99d76f9eb5336291fa6af713844d1c779484e30
treed48484ba53d7b3fb007d57f571f4e74976493ac3
parent14ce82e536455ace3d6ca70f77bbc2c6b25b8268
leds: leds-gpio: use gpio_request_one

Using gpio_request_one can make the code simpler because it can
set the direction and initial value in one shot.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-gpio.c