diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-11-16 13:26:56 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-11-16 13:43:39 +0100 |
commit | 2658008a2adcd86d9a45ee76bdec504898426254 (patch) | |
tree | 71f51b6dff37858ddde60c5476558b365c915597 /target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch | |
parent | 4e885dd90af50e4ace6f4565a3616e107c4ba2b0 (diff) | |
download | upstream-2658008a2adcd86d9a45ee76bdec504898426254.tar.gz upstream-2658008a2adcd86d9a45ee76bdec504898426254.tar.bz2 upstream-2658008a2adcd86d9a45ee76bdec504898426254.zip |
treewide: remove default-state off for LEDs
default-state = "off" is default for LEDs, no need to specify it
explicitly.
https://www.kernel.org/doc/Documentation/devicetree/bindings/leds/common.yaml
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch')
-rw-r--r-- | target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch b/target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch index 7def128daf..3cb1dab69f 100644 --- a/target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch +++ b/target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch @@ -44,7 +44,7 @@ Subject: [PATCH] arm: dts: Add Unielec U7623 DTS +}; --- /dev/null +++ b/arch/arm/boot/dts/mt7623a-unielec-u7623-02-emmc.dtsi -@@ -0,0 +1,343 @@ +@@ -0,0 +1,340 @@ +/* + * Copyright 2018 Kristian Evensen <kristian.evensen@gmail.com> + * @@ -132,13 +132,11 @@ Subject: [PATCH] arm: dts: Add Unielec U7623 DTS + led3 { + label = "u7623-01:green:led3"; + gpios = <&pio 14 GPIO_ACTIVE_LOW>; -+ default-state = "off"; + }; + + led4 { + label = "u7623-01:green:led4"; + gpios = <&pio 15 GPIO_ACTIVE_LOW>; -+ default-state = "off"; + }; + }; +}; @@ -343,7 +341,6 @@ Subject: [PATCH] arm: dts: Add Unielec U7623 DTS + led@0 { + reg = <0>; + label = "led0"; -+ default-state = "off"; + }; + }; + }; |