From: Fabio Estevam Date: Wed, 10 Dec 2014 00:57:07 +0000 (+0100) Subject: leds: leds-gpio: Fix the "default-state" property check X-Git-Tag: omap-for-v3.20/drop-legacy-3517~30^2~4^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d735d25e60fffeffc256fa5d59551dc92dc07e36;p=pandora-kernel.git 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 Signed-off-by: Fabio Estevam Acked-by: Bryan Wu Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed