]> git.sur5r.net Git - u-boot/commit
led: bcm6328: read base address in the parent node
authorPhilippe Reynes <philippe.reynes@softathome.com>
Thu, 28 Jun 2018 13:26:16 +0000 (15:26 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 11 Jul 2018 12:23:55 +0000 (14:23 +0200)
commitc38abed5093a486d6349fc0d9d7a663f24965d78
tree6472698611912784f5b8cb0cd4a93433811a280c
parentcef1f0c7a41226cdefec41b01868f2b4702d487c
led: bcm6328: read base address in the parent node

In the device tree, the address for the led is located
in the parent node (for exemple leds), not in the led node
(for exemple led@0).

The commit "led: bcm6328: convert to use live dt"
(sha1: 899455176058d673887a762aa38853188a030af4)
change this behaviour and read the address in the led node.

We fix this by reading the base address for led
in the parent node.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
drivers/led/led_bcm6328.c