소스 검색

ramips: mt7620a_tplink_archer-c5-v4: use LED_FUNCTION_WLAN_2GHZ and LED_FUNCTION_WLAN_5GHZ

Use LED_FUNCTION_WLAN_2GHZ and LED_FUNCTION_WLAN_5GHZ instead function-enumerator

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
Mieczyslaw Nalewaj 1 년 전
부모
커밋
362e7103c6
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts

+ 2 - 4
target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts

@@ -26,17 +26,15 @@
 		};
 
 		led-1 {
-			function = LED_FUNCTION_WLAN;
+			function = LED_FUNCTION_WLAN_2GHZ;
 			color = <LED_COLOR_ID_GREEN>;
-			function-enumerator = <2>;
 			gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "phy1tpt";
 		};
 
 		led-2 {
-			function = LED_FUNCTION_WLAN;
+			function = LED_FUNCTION_WLAN_5GHZ;
 			color = <LED_COLOR_ID_GREEN>;
-			function-enumerator = <5>;
 			gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "phy0tpt";
 		};