leds: lp8860: Update the dt parsing for LED labeling
authorDan Murphy <dmurphy@ti.com>
Mon, 18 Dec 2017 20:23:04 +0000 (14:23 -0600)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Mon, 8 Jan 2018 20:28:11 +0000 (21:28 +0100)
commitc6b218c9c0d686486dcc39a1d80aff90801ca6fc
treee71c4c5ee0f3b69670480a23f003f78bd3d71f0c
parent915236838988a927e405058a86b7857a984d33d4
leds: lp8860: Update the dt parsing for LED labeling

Update the DT parsing for the label node so that
the label is retrieved from the device child as
opposed to being part of the parent.

This will align this driver with the LED
binding documentation

Documentation/devicetree/bindings/leds/common.txt

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/leds-lp8860.c