]> git.baikalelectronics.ru Git - uboot.git/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)
commitf89817e81cbaf824c9a24aa893561972820b4a55
tree6472698611912784f5b8cb0cd4a93433811a280c
parente8639384ffb1d505ad0404be17f177dc69bc5386
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: 3c89c82ed8d7ed87bb8a33e1a8475974c7c602d4)
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