]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
leds: leds-ns2: use gpio_request_one
authorJingoo Han <jg1.han@samsung.com>
Tue, 23 Oct 2012 12:18:21 +0000 (05:18 -0700)
committerBryan Wu <roc@roc-samos.(none)>
Thu, 1 Nov 2012 22:47:42 +0000 (15:47 -0700)
commitc1b031142705e5afe402f8051c6f68df3a5e9ef8
tree2a5b8cadba54173d0a456b68bf4179e4e36e9bcd
parent521d05f644fc0af89f17c88e2a5dcd967bfa7a00
leds: leds-ns2: 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-ns2.c