]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/leds/leds-bd2802.c: use gpio_request_one()
authorAxel Lin <axel.lin@gmail.com>
Thu, 8 Dec 2011 04:42:19 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Dec 2011 04:19:03 +0000 (15:19 +1100)
commit95a80ab1e225976a52dcfc1add248931d5c8c611
tree0cc8a7e4e2a7baa42f27eb04c4425ad0da2747fd
parentdea2d7c85e56a5ee015a1d962bcc49430f67e62a
drivers/leds/leds-bd2802.c: use gpio_request_one()

Use gpio_request_one() instead of multiple gpiolib calls.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Kim Kyuwon <q1.kim@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/leds/leds-bd2802.c