Skip to content
Commit d735d25e authored by Fabio Estevam's avatar Fabio Estevam Committed by Rafael J. Wysocki
Browse files

leds: leds-gpio: Fix the "default-state" property check



Commit a43f2cbb ("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: a43f2cbb (leds: leds-gpio: Make use of device property API)
Reported-by: default avatarJean-Michel Hautbois <jean-michel.hautbois@vodalys.com>
Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Acked-by: default avatarBryan Wu <cooloney@gmail.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 29470ea8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment