ipq40xx: fix dts error in LED color/function conversion
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 9 Feb 2024 00:44:19 +0000 (01:44 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 9 Feb 2024 00:44:19 +0000 (01:44 +0100)
Fix DTS error in LED color/function conversion due to a bug in the
conversion script.

Fixes: a9e0d97e1fc8 ("ipq40xx: convert to new LED color/function format where possible")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-mf18a.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-rt-ac42u.dts

index d965f2724d3f7e22bf97905dc7bd6db49305c465..6987515720408fcc306aef1b438e862586a01d4b 100644 (file)
@@ -50,7 +50,6 @@
                };
 
                led-2 {
-                       function = LED_FUNCTION_WLAN;
                        function = LED_FUNCTION_WLAN;
                        color = <LED_COLOR_ID_BLUE>;
                        gpios = <&tlmm 23 GPIO_ACTIVE_HIGH>;
index 5604af2ddb9a55b6da660a95fab77a121c71802e..70849d71d67fab568a46c6ca788f262a9064a769 100644 (file)
                        color = <LED_COLOR_ID_BLUE>;
                        function = LED_FUNCTION_STATUS;
                        gpios = <&tlmm 40 GPIO_ACTIVE_LOW>;
-                       function = LED_FUNCTION_STATUS;
-                       color = <LED_COLOR_ID_BLUE>;
                };
 
                led-1 {