]> git.baikalelectronics.ru Git - uboot.git/commit
led: pwm: Use NOP uclass driver for top-level node
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Thu, 23 Jun 2022 09:25:29 +0000 (11:25 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 8 Jul 2022 14:56:45 +0000 (10:56 -0400)
commitaa4a5d568c5d5ea4715c1099559b387001cb8f41
treefa9d4361561c5522d9ee3e9fc5cbf086c24e66a2
parent88e7dce9ed34ecec19210f9677c63ec2a3432100
led: pwm: Use NOP uclass driver for top-level node

The top level DT node of pwm-leds is not a LED itself, bind NOP uclass
driver to it, and bind different LED uclass driver to its subnodes which
represent the actual LEDs. This change removes the top-level node from
the 'led list' command output and is based on the commit 920f001434b7
("led: gpio: Use NOP uclass driver for top-level node").

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
drivers/led/led_pwm.c