]> Git Repo - linux.git/commit - drivers/leds/leds-netxbig.c
drivers/leds/leds-netxbig.c: use gpio_request_one()
authorAxel Lin <[email protected]>
Tue, 10 Jan 2012 23:09:37 +0000 (15:09 -0800)
committerLinus Torvalds <[email protected]>
Wed, 11 Jan 2012 00:30:49 +0000 (16:30 -0800)
commitb96a573f4c27529d379922670e8cf5530120d5ca
tree3bcc570221a4a47c83e50d8d538730c4ea4bedd3
parent95dafd475382740a841697a2ead6566175d26390
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 <[email protected]>
Cc: Simon Guinot <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/leds/leds-netxbig.c
This page took 0.050612 seconds and 4 git commands to generate.