aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2014-12-04 02:28:19 +0100
committerRafael J. Wysocki <[email protected]>2014-12-04 02:28:19 +0100
commit29470ea8d828e4dec74e94f7f17b7479ff5ef276 (patch)
treeff84d6c5c98e4317dc340e81557d7217b0d10203 /tools/perf/scripts/python/bin
parentec98a4975e66a3aa366cd227edab027b01adea37 (diff)
leds: leds-gpio: Fix multiple instances registration without 'label' property
Since commit a43f2cbbb009f96 ("leds: leds-gpio: Make use of device property API") it is no longer possible to register multiple gpio leds without passing the 'label' property. According to Documentation/devicetree/bindings/leds/common.txt: "Optional properties for child nodes: - label : The label for this LED. If omitted, the label is taken from the node name (excluding the unit address)." So retrieve the node name when the 'label' property is absent to keep the old behaviour and fix this regression. Fixes: a43f2cbbb009 (leds: leds-gpio: Make use of device property API) Reported-by: Jean-Michel Hautbois <[email protected]> Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Grant Likely <[email protected]> Acked-by: Bryan Wu <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions