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 de138658180..a5d684cf995 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 d2c51714020..01b1053142c 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 3c0e9c56a1c..c7149953be3 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 414db556cad..64f5eabb522 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 d4bf64ab40b..6ade40bfe1e 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 a88e2bcd377..9189c6e5516 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 e5c2cbcb72c..137bff732cf 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 ee2e82ef10b..0f3c23d4748 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 164e0802f9f..f067df0fb72 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 9d06a49626e..a660c1593c4 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 8fcd093d66f..d0693658a4d 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 439cc1af4af..12c8f00d1f3 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 = ; };