OSDN Git Service

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