From e92632f760a9db733ee05a3eef5ebaa45e167343 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Wed, 7 Feb 2024 14:48:34 +0100 Subject: [PATCH] ath79: drop redundant label with new LED color/function format Drop redundant label with new LED color/function format declared. This was needed previously when the new format wasn't supported by leds.sh functions script. Now that is supported this property can be removed in favor of the new format. Signed-off-by: Christian Marangi --- target/linux/ath79/dts/ar9344_embeddedwireless_balin.dts | 1 - target/linux/ath79/dts/ar9344_moxa_awk-1137c.dts | 6 ------ target/linux/ath79/dts/ar9344_wd_mynet-n600.dts | 1 - target/linux/ath79/dts/qca9531_letv_lba-047-ch.dts | 3 --- target/linux/ath79/dts/qca9550_airtight_c-75.dts | 2 -- target/linux/ath79/dts/qca9557_meraki_mr18.dts | 3 --- target/linux/ath79/dts/qca9558_dlink_dir-629-a1.dts | 1 - target/linux/ath79/dts/qca9558_jjplus_jwap230.dts | 1 - target/linux/ath79/dts/qca9563_dlink_dir-859-a3.dts | 1 - target/linux/ath79/dts/qca9563_tplink_eap225-v1.dts | 3 --- target/linux/ath79/dts/qca9563_zte_mf281.dts | 1 - target/linux/ath79/dts/qca9563_zte_mf282.dts | 1 - 12 files changed, 24 deletions(-) diff --git a/target/linux/ath79/dts/ar9344_embeddedwireless_balin.dts b/target/linux/ath79/dts/ar9344_embeddedwireless_balin.dts index de1386581807..a5d684cf9952 100644 --- a/target/linux/ath79/dts/ar9344_embeddedwireless_balin.dts +++ b/target/linux/ath79/dts/ar9344_embeddedwireless_balin.dts @@ -25,7 +25,6 @@ compatible = "gpio-leds"; led_system: led-0 { - label = "green:system"; color = ; function = LED_FUNCTION_POWER; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ath79/dts/ar9344_moxa_awk-1137c.dts b/target/linux/ath79/dts/ar9344_moxa_awk-1137c.dts index d2c51714020a..01b1053142c3 100644 --- a/target/linux/ath79/dts/ar9344_moxa_awk-1137c.dts +++ b/target/linux/ath79/dts/ar9344_moxa_awk-1137c.dts @@ -34,7 +34,6 @@ pinctrl-names = "default"; led_status_green: led-0 { - label = "green:status"; color = ; function = LED_FUNCTION_STATUS; function-enumerator = <0>; @@ -42,7 +41,6 @@ }; led_status_red: led-1 { - label = "red:status"; color = ; function = LED_FUNCTION_STATUS; function-enumerator = <1>; @@ -50,7 +48,6 @@ }; led-2 { - label = "green:wifi"; color = ; function = LED_FUNCTION_WLAN; function-enumerator = <0>; @@ -59,21 +56,18 @@ }; led-3 { - label = "green:lan1"; color = ; function = LED_FUNCTION_WAN; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; }; led-4 { - label = "green:lan2"; color = ; function = LED_FUNCTION_LAN; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; }; led-5 { - label = "yellow:wifi"; color = ; function = LED_FUNCTION_WLAN; function-enumerator = <1>; diff --git a/target/linux/ath79/dts/ar9344_wd_mynet-n600.dts b/target/linux/ath79/dts/ar9344_wd_mynet-n600.dts index 3c0e9c56a1c8..c7149953be3e 100644 --- a/target/linux/ath79/dts/ar9344_wd_mynet-n600.dts +++ b/target/linux/ath79/dts/ar9344_wd_mynet-n600.dts @@ -24,7 +24,6 @@ }; led_power: led-1 { - label = "blue:power"; color = ; function = LED_FUNCTION_POWER; gpios = <&gpio 11 GPIO_ACTIVE_HIGH>; diff --git a/target/linux/ath79/dts/qca9531_letv_lba-047-ch.dts b/target/linux/ath79/dts/qca9531_letv_lba-047-ch.dts index 414db556cade..64f5eabb522c 100644 --- a/target/linux/ath79/dts/qca9531_letv_lba-047-ch.dts +++ b/target/linux/ath79/dts/qca9531_letv_lba-047-ch.dts @@ -33,21 +33,18 @@ compatible = "gpio-leds"; led_status_blue: led-0 { - label = "blue:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; }; led_status_green: led-1 { - label = "green:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 4 GPIO_ACTIVE_LOW>; }; led_status_red: led-2 { - label = "red:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 11 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ath79/dts/qca9550_airtight_c-75.dts b/target/linux/ath79/dts/qca9550_airtight_c-75.dts index d4bf64ab40bb..6ade40bfe1e6 100644 --- a/target/linux/ath79/dts/qca9550_airtight_c-75.dts +++ b/target/linux/ath79/dts/qca9550_airtight_c-75.dts @@ -32,14 +32,12 @@ compatible = "gpio-leds"; led_power_amber: power-amber { - label = "amber:power"; color = ; function = LED_FUNCTION_POWER; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; }; led_power_green: power-green { - label = "green:power"; color = ; function = LED_FUNCTION_POWER; gpios = <&gpio 4 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ath79/dts/qca9557_meraki_mr18.dts b/target/linux/ath79/dts/qca9557_meraki_mr18.dts index a88e2bcd377a..9189c6e55161 100644 --- a/target/linux/ath79/dts/qca9557_meraki_mr18.dts +++ b/target/linux/ath79/dts/qca9557_meraki_mr18.dts @@ -66,17 +66,14 @@ #else red { - label = "red:tricolor"; color = ; }; green: green { - label = "green:tricolor"; color = ; }; blue { - label = "blue:tricolor"; color = ; }; #endif diff --git a/target/linux/ath79/dts/qca9558_dlink_dir-629-a1.dts b/target/linux/ath79/dts/qca9558_dlink_dir-629-a1.dts index e5c2cbcb72c7..137bff732cf8 100644 --- a/target/linux/ath79/dts/qca9558_dlink_dir-629-a1.dts +++ b/target/linux/ath79/dts/qca9558_dlink_dir-629-a1.dts @@ -46,7 +46,6 @@ }; led_power: led-1 { - label = "green:power"; color = ; function = LED_FUNCTION_POWER; gpios = <&gpio 21 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ath79/dts/qca9558_jjplus_jwap230.dts b/target/linux/ath79/dts/qca9558_jjplus_jwap230.dts index ee2e82ef10b5..0f3c23d4748f 100644 --- a/target/linux/ath79/dts/qca9558_jjplus_jwap230.dts +++ b/target/linux/ath79/dts/qca9558_jjplus_jwap230.dts @@ -21,7 +21,6 @@ compatible = "gpio-leds"; led_power: led-0 { - label = "green:power"; color = ; function = LED_FUNCTION_POWER; gpios = <&gpio 23 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ath79/dts/qca9563_dlink_dir-859-a3.dts b/target/linux/ath79/dts/qca9563_dlink_dir-859-a3.dts index 164e0802f9fb..f067df0fb724 100644 --- a/target/linux/ath79/dts/qca9563_dlink_dir-859-a3.dts +++ b/target/linux/ath79/dts/qca9563_dlink_dir-859-a3.dts @@ -20,7 +20,6 @@ compatible = "gpio-leds"; led_power: power { - label = "green:power"; color = ; function = LED_FUNCTION_POWER; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ath79/dts/qca9563_tplink_eap225-v1.dts b/target/linux/ath79/dts/qca9563_tplink_eap225-v1.dts index 9d06a49626e2..a660c1593c44 100644 --- a/target/linux/ath79/dts/qca9563_tplink_eap225-v1.dts +++ b/target/linux/ath79/dts/qca9563_tplink_eap225-v1.dts @@ -18,7 +18,6 @@ compatible = "gpio-leds"; led_status_green: led-0 { - label = "green:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>; @@ -26,14 +25,12 @@ }; led_status_amber: led-1 { - label = "amber:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 9 GPIO_ACTIVE_HIGH>; }; led_status_red: led-2 { - label = "red:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; diff --git a/target/linux/ath79/dts/qca9563_zte_mf281.dts b/target/linux/ath79/dts/qca9563_zte_mf281.dts index 8fcd093d66f4..d0693658a4db 100644 --- a/target/linux/ath79/dts/qca9563_zte_mf281.dts +++ b/target/linux/ath79/dts/qca9563_zte_mf281.dts @@ -16,7 +16,6 @@ }; &led_debug { - label = "green:debug"; color = ; }; diff --git a/target/linux/ath79/dts/qca9563_zte_mf282.dts b/target/linux/ath79/dts/qca9563_zte_mf282.dts index 439cc1af4af9..12c8f00d1f3b 100644 --- a/target/linux/ath79/dts/qca9563_zte_mf282.dts +++ b/target/linux/ath79/dts/qca9563_zte_mf282.dts @@ -28,7 +28,6 @@ }; &led_debug { - label = "blue:debug"; color = ; }; -- 2.30.2