drivers: led: bcm6753: do not use null label to find the top
authorPhilippe Reynes <philippe.reynes@softathome.com>
Thu, 29 Jun 2023 09:25:23 +0000 (11:25 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jul 2023 19:21:08 +0000 (15:21 -0400)
commit910b01c27c0499ae8f84104a0db745dd3a056c04
tree4312840918eb0cd0596d4596b5be997578b3ee41
parent874bf6e0e25389a9d43b5844855342595d58648e
drivers: led: bcm6753: 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_bcm6753.c