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)
commite3812b5b083e39f3dd11009579cc7d44008adaf5
treefa9d4361561c5522d9ee3e9fc5cbf086c24e66a2
parent7886c45d422ca92f86a88580442bd526435bec25
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 01074697801b
("led: gpio: Use NOP uclass driver for top-level node").

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