treewide: dts: Remove default-state=off property from all gpio LED nodes

>From the Documentation/devicetree/bindings/leds/common.txt:

- default-state : The initial state of the LED. Valid values are "on", "off",
  and "keep". If the LED is already on or off and the default-state property is
  set the to same value, then no glitch should be produced where the LED
  momentarily turns off (or on). The "keep" setting will keep the LED at
  whatever its current state is, without producing a glitch.  The default is
  off if this property is not present.

So setting the default-state of the LEDs to `off` is redundant as `off`
is default LED state anyway. We should remove it as almost every new
PR/patch submission contains this property by default which seems to be
just copy&paste from some DTS file already present in the tree.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
Petr Štetiar
2018-12-16 12:26:34 +01:00
committed by John Crispin
parent 1e4ee63cc8
commit 0d23fd2ab2
72 changed files with 0 additions and 233 deletions

View File

@@ -45,7 +45,6 @@
status {
label = "dch-m225:red:status";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@@ -76,7 +76,6 @@
status {
label = "dir-615-d:amber:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
default-state = "off";
};
led_status_green: status2 {

View File

@@ -22,7 +22,6 @@
status {
label = "dir-615-h1:amber:status";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
led_status_green: status2 {

View File

@@ -34,7 +34,6 @@
power_a {
label = "ex3700:amber:power";
gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
default-state = "off";
};
router_g {

View File

@@ -32,13 +32,11 @@
yellow {
label = "miwifi-mini:yellow:status";
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
default-state = "off";
};
red {
label = "miwifi-mini:red:status";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@@ -31,13 +31,11 @@
status-red {
label = "newifi-d1:red:status";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
default-state = "off";
};
status-green {
label = "newifi-d1:green:status";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
default-state = "off";
};
led_blue: status-blue {

View File

@@ -37,7 +37,6 @@
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
default-state = "off";
};
led_power: power {

View File

@@ -24,13 +24,11 @@
yellow {
label = "psg1218a:yellow:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
default-state = "off";
};
red {
label = "psg1218a:red:status";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};
};

View File

@@ -24,13 +24,11 @@
yellow {
label = "psg1218b:yellow:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
default-state = "off";
};
red {
label = "psg1218b:red:status";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};
};