]> git.karo-electronics.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)>
Fri, 26 Oct 2012 20:59:51 +0000 (13:59 -0700)
commit51eff4d428e068be4fd26877e7f517ce45ce0809
treee9babf6cf9c39bc7a2a41054d5419b0f9add7929
parent385f7ed96823301c77a76e0366acb14bc9c97683
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