drivers/leds/leds-bd2802.c: use gpio_request_one()
authorAxel Lin <axel.lin@gmail.com>
Tue, 10 Jan 2012 23:09:35 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 00:30:49 +0000 (16:30 -0800)
commit95dafd475382740a841697a2ead6566175d26390
tree4aa338ef4b6afb327fc037ed8811e99be18dfe73
parent1980bcfa6bc5a77491176ba695422e205dcfd2da
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/leds/leds-bd2802.c