]> Git Repo - linux.git/commit
leds: leds-gpio: use gpio_request_one
authorJingoo Han <[email protected]>
Tue, 23 Oct 2012 12:17:11 +0000 (05:17 -0700)
committerBryan Wu <[email protected]>
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 <[email protected]>
Signed-off-by: Bryan Wu <[email protected]>
drivers/leds/leds-gpio.c
This page took 0.056027 seconds and 4 git commands to generate.