]> git.baikalelectronics.ru Git - uboot.git/commit
drivers: led: bcm6858: do not use null label to find the top
authorPhilippe Reynes <philippe.reynes@softathome.com>
Fri, 23 Jun 2023 16:36:42 +0000 (18:36 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 25 Jul 2023 16:44:46 +0000 (12:44 -0400)
commit028323c0f68a2a2cfb4f5f79021246c6172059a8
tree034f98c0abfcb39cb1bb69b63fb01991b9c227e8
parent40973081e58b0a95e34bb8bcae92b46945ec0ee5
drivers: led: bcm6858: do not use null label to find the top

This driver considers that a node with an empty label is the top.
But the led class has changed, if a label is not provided for a led,
the label is filed with the node name. So we update this driver
to use a wrapper to manage the top led node.

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