Commit 7a3a2a64 authored by Johan Jonker's avatar Johan Jonker Committed by Rob Herring
Browse files

dt-bindings: leds: common: fix example for gpio-leds



The preferred form for gpio-leds compatible subnodes is:
^led-[0-9a-f]$
Fix example by changing led0 and led1 to led-0 and led-1.

Signed-off-by: default avatarJohan Jonker <jbx6244@gmail.com>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent c80f0104
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -167,13 +167,13 @@ examples:
    led-controller {
        compatible = "gpio-leds";

        led0 {
        led-0 {
            function = LED_FUNCTION_STATUS;
            linux,default-trigger = "heartbeat";
            gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
        };

        led1 {
        led-1 {
            function = LED_FUNCTION_USB;
            gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
            trigger-sources = <&ohci_port1>, <&ehci_port1>;