summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-tca6507.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-01-11 03:09:37 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-11 04:30:49 +0400
commitb96a573f4c27529d379922670e8cf5530120d5ca (patch)
tree3bcc570221a4a47c83e50d8d538730c4ea4bedd3 /drivers/leds/leds-tca6507.c
parent95dafd475382740a841697a2ead6566175d26390 (diff)
downloadlinux-b96a573f4c27529d379922670e8cf5530120d5ca.tar.xz
drivers/leds/leds-netxbig.c: use gpio_request_one()
Use gpio_request_one() instead of multiple gpiolib calls. This also simplifies error handling a bit. Signed-off-by: Axel Lin <axel.lin@gmail.com> Cc: Simon Guinot <sguinot@lacie.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>
Diffstat (limited to 'drivers/leds/leds-tca6507.c')
0 files changed, 0 insertions, 0 deletions