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 <cooloney@gmail.com>
Mon, 26 Nov 2012 22:28:44 +0000 (14:28 -0800)
commit31c3dc7488f2564fc398d5a416726031f56d6343
treee67014a35ca9960fb31bd6faf2f3703606eff30f
parent507d967bc1d103695440e27f888244e014bcf7be
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