[openwrt/openwrt] ramips: fix dts whitespace

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


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

commit d87482a8db908e899bc101242896089cc8b12036
Author: Felix Baumann <felix.bau at gmx.de>
AuthorDate: Wed Feb 8 03:24:21 2023 +0100

    ramips: 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/ramips/dts/mt7621_asus_rp-ac56.dts      | 14 +++++++-------
 target/linux/ramips/dts/mt7621_dlink_dir-3060-a1.dts |  2 +-
 target/linux/ramips/dts/mt7621_keenetic_kn-3010.dts  |  2 +-
 target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts |  2 +-
 target/linux/ramips/dts/mt7621_oraybox_x3a.dts       |  2 +-
 target/linux/ramips/dts/mt7621_zyxel_nwa50ax.dts     |  8 ++++----
 6 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621_asus_rp-ac56.dts b/target/linux/ramips/dts/mt7621_asus_rp-ac56.dts
index 5ae0ca6e82..50047999be 100644
--- a/target/linux/ramips/dts/mt7621_asus_rp-ac56.dts
+++ b/target/linux/ramips/dts/mt7621_asus_rp-ac56.dts
@@ -106,7 +106,7 @@
 };
 
 &gpio {
-       status = "okay";
+	status = "okay";
 };
 
 &spi0 {
@@ -208,12 +208,12 @@
 };
 
 &switch0 {
-        ports {
-                port at 0 {
-                        status = "okay";
-                        label = "lan";
-                };
-        };
+	ports {
+		port at 0 {
+			status = "okay";
+			label = "lan";
+		};
+	};
 };
 
 &xhci {
diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-3060-a1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-3060-a1.dts
index 675a3aa631..943143ad63 100644
--- a/target/linux/ramips/dts/mt7621_dlink_dir-3060-a1.dts
+++ b/target/linux/ramips/dts/mt7621_dlink_dir-3060-a1.dts
@@ -55,7 +55,7 @@
 			label = "white:net";
 			gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
 		};
-		
+
 		usb2_white {
 			label = "white:usb2";
 			gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
diff --git a/target/linux/ramips/dts/mt7621_keenetic_kn-3010.dts b/target/linux/ramips/dts/mt7621_keenetic_kn-3010.dts
index 5a771f139c..69080df682 100644
--- a/target/linux/ramips/dts/mt7621_keenetic_kn-3010.dts
+++ b/target/linux/ramips/dts/mt7621_keenetic_kn-3010.dts
@@ -65,7 +65,7 @@
 			label = "wps";
 			gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
 			linux,code = <KEY_WPS_BUTTON>;
-                };
+		};
 	};
 
 	virtual_flash {
diff --git a/target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts b/target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts
index 654c9aa70f..71e8dcedbf 100644
--- a/target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts
+++ b/target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts
@@ -8,7 +8,7 @@
 };
 
 &gmac1 {
-        phy-handle = <&ethphy4>;
+	phy-handle = <&ethphy4>;
 };
 
 &mdio {
diff --git a/target/linux/ramips/dts/mt7621_oraybox_x3a.dts b/target/linux/ramips/dts/mt7621_oraybox_x3a.dts
index fd7a8e6eca..fe26e5af6f 100644
--- a/target/linux/ramips/dts/mt7621_oraybox_x3a.dts
+++ b/target/linux/ramips/dts/mt7621_oraybox_x3a.dts
@@ -145,7 +145,7 @@
 };
 
 &switch0 {
-	ports {		
+	ports {
 		port at 2 {
 			status = "okay";
 			label = "lan2";
diff --git a/target/linux/ramips/dts/mt7621_zyxel_nwa50ax.dts b/target/linux/ramips/dts/mt7621_zyxel_nwa50ax.dts
index 62ba49e797..2cdaa40a1c 100644
--- a/target/linux/ramips/dts/mt7621_zyxel_nwa50ax.dts
+++ b/target/linux/ramips/dts/mt7621_zyxel_nwa50ax.dts
@@ -49,8 +49,8 @@
 };
 
 &state_default {
-        gpio {
-                groups = "uart3", "rgmii2";
-                function = "gpio";
-        };
+	gpio {
+		groups = "uart3", "rgmii2";
+		function = "gpio";
+	};
 };




More information about the lede-commits mailing list