summaryrefslogtreecommitdiff
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-12-10 01:57:07 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-12-10 01:57:07 +0100
commitd735d25e60fffeffc256fa5d59551dc92dc07e36 (patch)
tree2259d408fdbfb0c0181e51e8c9bc98c7068b831c /kernel/sys.c
parent29470ea8d828e4dec74e94f7f17b7479ff5ef276 (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>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions