]> git.karo-electronics.de Git - karo-tx-linux.git/commit
leds: leds-lt3593: use gpio_request_one
authorJingoo Han <jg1.han@samsung.com>
Tue, 23 Oct 2012 12:17:56 +0000 (05:17 -0700)
committerBryan Wu <roc@roc-samos.(none)>
Fri, 26 Oct 2012 20:59:51 +0000 (13:59 -0700)
commit385f7ed96823301c77a76e0366acb14bc9c97683
treeebddab1cc2b7cdcdc2ad255b1ddb55240a68b9e8
parent68f76e9e583a627b06a5b2bdfc6c5deec022027d
leds: leds-lt3593: 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-lt3593.c