[openwrt/openwrt] ath79: fix dts whitespace

LEDE Commits lede-commits at lists.infradead.org
Wed Feb 8 18:04:18 PST 2023


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d0c64ae6953c08b2a0b9ecc5d0a24d884ccc8ad5

commit d0c64ae6953c08b2a0b9ecc5d0a24d884ccc8ad5
Author: Felix Baumann <felix.bau at gmx.de>
AuthorDate: Wed Feb 8 03:18:44 2023 +0100

    ath79: fix dts whitespace
    
    Replace blanks with tabs
    Remove whitespace from otherwise empty lines
    
    Signed-off-by: Felix Baumann <felix.bau at gmx.de>
---
 target/linux/ath79/dts/ar7161_trendnet_tew-673gru.dts    |  2 +-
 .../dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts     | 10 +++++-----
 target/linux/ath79/dts/ar9344_tplink_tl-wr841hp-v2.dts   | 16 ++++++++--------
 target/linux/ath79/dts/ar9344_wd_mynet-n600.dts          | 16 ++++++++--------
 target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dts   |  2 +-
 target/linux/ath79/dts/qca9563_tplink_deco-m4r-v1.dts    | 14 +++++++-------
 6 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/target/linux/ath79/dts/ar7161_trendnet_tew-673gru.dts b/target/linux/ath79/dts/ar7161_trendnet_tew-673gru.dts
index b6d66a08a5..a770ca04a8 100644
--- a/target/linux/ath79/dts/ar7161_trendnet_tew-673gru.dts
+++ b/target/linux/ath79/dts/ar7161_trendnet_tew-673gru.dts
@@ -58,7 +58,7 @@
 			};
 		};
 	};
-	
+
 	virtual_flash {
 		compatible = "mtd-concat";
 		devices = <&fwconcat0 &fwconcat1>;
diff --git a/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts b/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts
index 28a88db5df..cda96494e7 100644
--- a/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts
+++ b/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts
@@ -10,11 +10,11 @@
 	model = "MikroTik RouterBOARD 912UAG-2HPnD";
 
 	aliases {
-                led-boot = &led_power;
-                led-failsafe = &led_power;
-                led-running = &led_power;
-                led-upgrade = &led_power;
-        };
+		led-boot = &led_power;
+		led-failsafe = &led_power;
+		led-running = &led_power;
+		led-upgrade = &led_power;
+	};
 
 	gpio_key: gpio_key {
 		compatible = "mikrotik,gpio-rb91x-key";
diff --git a/target/linux/ath79/dts/ar9344_tplink_tl-wr841hp-v2.dts b/target/linux/ath79/dts/ar9344_tplink_tl-wr841hp-v2.dts
index 360443565b..49526fb6d2 100644
--- a/target/linux/ath79/dts/ar9344_tplink_tl-wr841hp-v2.dts
+++ b/target/linux/ath79/dts/ar9344_tplink_tl-wr841hp-v2.dts
@@ -16,7 +16,7 @@
 		led-upgrade = &led_system;
 		label-mac-device = &wmac;
 	};
-	
+
 	keys {
 		compatible = "gpio-keys";
 
@@ -26,7 +26,7 @@
 			debounce-interval = <60>;
 		};
 	};
-	
+
 	leds {
 		compatible = "gpio-leds";
 
@@ -54,12 +54,12 @@
 			label = "green:lan4";
 			gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
 		};
-		
+
 		wps {
 			label = "green:wps";
 			gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
 		};
-		
+
 		wlan {
 			label = "green:wlan";
 			gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
@@ -130,16 +130,16 @@
 
 &wmac {
 	status = "okay";
-	
+
 	mtd-cal-data = <&art 0x1000>;
-	
+
 	nvmem-cells = <&macaddr_uboot_1fc00>;
 	nvmem-cell-names = "mac-address";
 };
 
 &eth0 {
 	status = "okay";
-	
+
 	phy-handle = <&swphy0>;
 
 	nvmem-cells = <&macaddr_uboot_1fc00>;
@@ -152,7 +152,7 @@
 
 	nvmem-cells = <&macaddr_uboot_1fc00>;
 	nvmem-cell-names = "mac-address";
-	
+
 	gmac-config {
 		device = <&gmac>;
 		switch-phy-swap = <1>;
diff --git a/target/linux/ath79/dts/ar9344_wd_mynet-n600.dts b/target/linux/ath79/dts/ar9344_wd_mynet-n600.dts
index 81788fb348..3c0e9c56a1 100644
--- a/target/linux/ath79/dts/ar9344_wd_mynet-n600.dts
+++ b/target/linux/ath79/dts/ar9344_wd_mynet-n600.dts
@@ -18,27 +18,27 @@
 		compatible = "gpio-leds";
 
 		led-0 {
-                        color = <LED_COLOR_ID_BLUE>;
-                        function = LED_FUNCTION_WLAN;
+			color = <LED_COLOR_ID_BLUE>;
+			function = LED_FUNCTION_WLAN;
 			gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
 		};
 
 		led_power: led-1 {
 			label = "blue:power";
-                        color = <LED_COLOR_ID_BLUE>;
-                        function = LED_FUNCTION_POWER;
+			color = <LED_COLOR_ID_BLUE>;
+			function = LED_FUNCTION_POWER;
 			gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
 		};
 
 		led-2 {
-                        color = <LED_COLOR_ID_BLUE>;
-                        function = LED_FUNCTION_WAN;
+			color = <LED_COLOR_ID_BLUE>;
+			function = LED_FUNCTION_WAN;
 			gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
 		};
 
 		led-3 {
-                        color = <LED_COLOR_ID_BLUE>;
-                        function = LED_FUNCTION_WPS;
+			color = <LED_COLOR_ID_BLUE>;
+			function = LED_FUNCTION_WPS;
 			gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
 		};
 	};
diff --git a/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dts b/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dts
index dce88ac218..91675ff615 100644
--- a/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dts
+++ b/target/linux/ath79/dts/qca9558_ubnt_nanobeam-ac-xc.dts
@@ -5,7 +5,7 @@
  * Copyright (C) 2022 Daniel González Cabanelas <dgcbueu at gmail.com>
  * based on device tree from qca9558_ubnt_powerbeam-5ac-500.dts
  */
- 
+
 #include "qca955x_ubnt_xc.dtsi"
 
 / {
diff --git a/target/linux/ath79/dts/qca9563_tplink_deco-m4r-v1.dts b/target/linux/ath79/dts/qca9563_tplink_deco-m4r-v1.dts
index 4b2d80aa82..8cd9004bd3 100644
--- a/target/linux/ath79/dts/qca9563_tplink_deco-m4r-v1.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_deco-m4r-v1.dts
@@ -24,7 +24,7 @@
 			gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "phy1tpt";
 		};
-		
+
 		led_power: power {
 			label = "green:power";
 			gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
@@ -41,7 +41,7 @@
 
 	keys {
 		compatible = "gpio-keys";
-		
+
 		reset {
 			label = "Reset button";
 			linux,code = <KEY_RESTART>;
@@ -83,19 +83,19 @@
 			compatible = "fixed-partitions";
 			#address-cells = <1>;
 			#size-cells = <1>;
-			
+
 			uboot: partition at 0 {
 				label = "u-boot";
 				reg = <0x000000 0x080000>;
 				read-only;
 			};
-			
+
 			partition at 80000 {
 				compatible = "denx,uimage";
 				label = "firmware";
 				reg = <0x080000 0xe00000>;
 			};
-			
+
 			partition at e80000 {
 				label = "product-info";
 				reg = <0xe80000 0x05000>;
@@ -107,7 +107,7 @@
 				reg = <0xe85000 0x16b000>;
 				read-only;
 			};
-			
+
 			art: partition at ff0000 {
 				label = "art";
 				reg = <0xff0000 0x010000>;
@@ -122,7 +122,7 @@
 
 	phy-mode = "sgmii";
 	phy-handle = <&phy0>;
-	
+
 	nvmem-cells = <&macaddr_config_8>;
 	nvmem-cell-names = "mac-address";
 };




More information about the lede-commits mailing list