]> git.karo-electronics.de Git - karo-tx-linux.git/commit
leds: renesas: use gpio_request_one
authorJingoo Han <jg1.han@samsung.com>
Tue, 23 Oct 2012 12:18:47 +0000 (05:18 -0700)
committerBryan Wu <roc@roc-samos.(none)>
Fri, 26 Oct 2012 20:59:52 +0000 (13:59 -0700)
commit9a9bb2393030b8bd0e96b64b6922cc0064a5b561
tree07bdda5ba68188d650e36b3d52d46a8f12516804
parent51eff4d428e068be4fd26877e7f517ce45ce0809
leds: renesas: 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-renesas-tpu.c