drivers/leds/ledtrig-gpio.c: make output match input, tighten input checking
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Thu, 20 Jan 2011 22:44:29 +0000 (14:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 21 Jan 2011 01:02:06 +0000 (17:02 -0800)
commitcc587ece12791d001095488bf060fac52f657ea9
tree307ac86f764f4077b3454ad84f0908b528a6184b
parentc1fc8675c9e3dede8e7cd91cebb2025e2e6db2dc
drivers/leds/ledtrig-gpio.c: make output match input, tighten input checking

Replicate changes made to drivers/leds/ledtrig-backlight.c.

Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/leds/ledtrig-gpio.c