]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: BCM53573: Don't use nonexistent "default-off" LED trigger
authorRafał Miłecki <rafal@milecki.pl>
Wed, 8 Mar 2017 06:41:04 +0000 (07:41 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Thu, 9 Mar 2017 20:16:47 +0000 (12:16 -0800)
Such a trigger doesn't exist in Linux and is not needed as LED is being
turned off by default. This could cause errors in LEDs core code when
trying to set default trigger.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm47189-tenda-ac9.dts

index 6bdd79567cbd375361be6c3818e4b6cc9cddc806..34417dac1cd0937292469da3b86b54f2e8cfff1c 100644 (file)
@@ -26,19 +26,16 @@ leds {
                usb {
                        label = "bcm53xx:blue:usb";
                        gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "default-off";
                };
 
                wps {
                        label = "bcm53xx:blue:wps";
                        gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "default-off";
                };
 
                5ghz {
                        label = "bcm53xx:blue:5ghz";
                        gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "default-off";
                };
 
                system {
@@ -54,7 +51,6 @@ pcie0_leds {
                2ghz {
                        label = "bcm53xx:blue:2ghz";
                        gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "default-off";
                };
        };