leds: flash: Remove checking for state < 1 in flash_strobe_store()
authorJacek Anaszewski <j.anaszewski@samsung.com>
Wed, 18 Nov 2015 15:32:37 +0000 (16:32 +0100)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Mon, 4 Jan 2016 08:57:37 +0000 (09:57 +0100)
commitabc196359bf91a53392d8fac272a4ea8a9ecc0c4
treee9bbeca0c17be3e32391aa72d242d1ffdf6e3d93
parent77e7915b15bba2bf6edec6f258fb4158fef8e416
leds: flash: Remove checking for state < 1 in flash_strobe_store()

Strobe state variable is declared as unsigned long, remove
the check for values less than zero then.

Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Reported-by: David Binderman <dcb314@hotmail.com>
drivers/leds/led-class-flash.c