]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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 <roc@roc-samos.(none)>
Fri, 26 Oct 2012 20:59:51 +0000 (13:59 -0700)
commit68f76e9e583a627b06a5b2bdfc6c5deec022027d
treeb643079f45fd7e2928761f8bd2deab32a39bd007
parent0808696ebb1a9e8b7beeb8cabd66d88e976cc2f5
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