diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-12-10 01:57:07 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-09-18 14:19:54 +0200 |
commit | 70ac55fa53483af0963b0ad2ccd3196fe8af898f (patch) | |
tree | 6189698847cbf48c663cf6e70be22ad40eb53552 /drivers/zorro | |
parent | fdcc023a193b716a860150bd618814d54a8d1cc7 (diff) |
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>
(cherry picked from commit d735d25e60fffeffc256fa5d59551dc92dc07e36)
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions