leds: triggers: simplify led_trigger_store
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 8 Mar 2016 22:08:36 +0000 (23:08 +0100)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Mon, 14 Mar 2016 08:22:23 +0000 (09:22 +0100)
commit7296c33ed12ef13de50e03c76643382123766f96
tree0e638f9b24d7ca375cdbfb323689626f2c21ed1d
parent1c430f90216d00b7db13abe306d4f7fac9c6869f
leds: triggers: simplify led_trigger_store

led_trigger_store can be significantly simplified by using sysfs_streq().

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
drivers/leds/led-triggers.c