Fabio Estevam d735d25e60 leds: leds-gpio: Fix the "default-state" property check
Commit a43f2cbbb009f9 ("leds: leds-gpio: Make use of device property API")
caused a regression by reading the incorrect string for the "default-state"
property.

Fix the property string check to restore the original behaviour.

Fixes: a43f2cbbb009 (leds: leds-gpio: Make use of device property API)
Reported-by: Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Bryan Wu <cooloney@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-12-10 01:57:07 +01:00
..
2014-10-10 16:40:14 -04:00
2014-09-11 16:55:27 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2014-10-10 16:40:14 -04:00