[OpenWrt-Devel] [PATCH] ath79: fix whitespace issues in DTS files
Adrian Schmutzler
freifunk at adrianschmutzler.de
Tue Sep 17 08:22:34 EDT 2019
This is the result of grepping/searching for several common
whitespace issues like double empty lines, leading spaces, etc.
This patch fixes them for the ath79 target.
Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts | 2 --
target/linux/ath79/dts/ar7161_netgear_wndr3800.dts | 1 -
target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dts | 1 -
target/linux/ath79/dts/ar7240_on_n150r.dts | 1 -
target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts | 1 -
target/linux/ath79/dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi | 1 -
target/linux/ath79/dts/ar9331_tplink_tl-wr710n-v1.dts | 1 -
target/linux/ath79/dts/ar9344_dlink_dir-825-c1.dts | 1 -
target/linux/ath79/dts/ar9344_dlink_dir-835-a1.dts | 1 -
target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi | 1 -
target/linux/ath79/dts/ar9344_pcs_cr5000.dts | 1 -
target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts | 1 -
target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts | 2 +-
target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts | 3 ---
target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts | 2 +-
target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts | 1 -
target/linux/ath79/dts/qca953x.dtsi | 3 ---
target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v1.dts | 1 -
target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v2.dts | 1 -
target/linux/ath79/dts/qca9558_devolo_dvl1750e.dts | 1 -
target/linux/ath79/dts/qca9558_engenius_ecb1750.dts | 1 -
target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts | 4 ----
target/linux/ath79/dts/qca9558_ocedo_ursus.dts | 2 --
target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi | 1 -
target/linux/ath79/dts/qca9558_trendnet_tew-823dru.dts | 3 ---
target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi | 1 -
target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts | 1 -
target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi | 1 -
28 files changed, 2 insertions(+), 39 deletions(-)
diff --git a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
index da19921973..ec5367fede 100644
--- a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
+++ b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
@@ -120,7 +120,6 @@
};
};
-
&usb1 {
#address-cells = <1>;
#size-cells = <0>;
@@ -222,7 +221,6 @@
};
};
-
ð0 {
status = "okay";
pll-data = <0x11110000 0x00001099 0x00991099>;
diff --git a/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts b/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts
index 589d0ec840..0959bf4d97 100644
--- a/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts
+++ b/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts
@@ -33,4 +33,3 @@
read-only;
};
};
-
diff --git a/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dts b/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dts
index b3ceecf932..b568d90eff 100644
--- a/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dts
+++ b/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dts
@@ -7,4 +7,3 @@
model = "Netgear WNR612 v2";
compatible = "netgear,wnr612-v2", "qca,ar7240";
};
-
diff --git a/target/linux/ath79/dts/ar7240_on_n150r.dts b/target/linux/ath79/dts/ar7240_on_n150r.dts
index a318846a83..3aaa07f724 100644
--- a/target/linux/ath79/dts/ar7240_on_n150r.dts
+++ b/target/linux/ath79/dts/ar7240_on_n150r.dts
@@ -7,4 +7,3 @@
model = "ON Network N150R";
compatible = "on,n150r", "qca,ar7240";
};
-
diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts b/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts
index 9182374235..1750e92499 100644
--- a/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts
+++ b/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts
@@ -153,7 +153,6 @@
};
};
-
ð0 {
status = "okay";
diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi b/target/linux/ath79/dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi
index ffd3d71a62..bec430a89b 100644
--- a/target/linux/ath79/dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi
+++ b/target/linux/ath79/dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi
@@ -43,7 +43,6 @@
regulator-max-microvolt = <5000000>;
enable-active-high;
};
-
};
&spi {
diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-wr710n-v1.dts b/target/linux/ath79/dts/ar9331_tplink_tl-wr710n-v1.dts
index 056e9fa512..0a660639a1 100644
--- a/target/linux/ath79/dts/ar9331_tplink_tl-wr710n-v1.dts
+++ b/target/linux/ath79/dts/ar9331_tplink_tl-wr710n-v1.dts
@@ -47,7 +47,6 @@
gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
-
};
&spi {
diff --git a/target/linux/ath79/dts/ar9344_dlink_dir-825-c1.dts b/target/linux/ath79/dts/ar9344_dlink_dir-825-c1.dts
index 89603aaff6..f060e29eef 100644
--- a/target/linux/ath79/dts/ar9344_dlink_dir-825-c1.dts
+++ b/target/linux/ath79/dts/ar9344_dlink_dir-825-c1.dts
@@ -76,4 +76,3 @@
pinctrl-single,bits = <0x8 0x0 0xff000000>;
};
};
-
diff --git a/target/linux/ath79/dts/ar9344_dlink_dir-835-a1.dts b/target/linux/ath79/dts/ar9344_dlink_dir-835-a1.dts
index 4f0c1e58ee..29f30028b2 100644
--- a/target/linux/ath79/dts/ar9344_dlink_dir-835-a1.dts
+++ b/target/linux/ath79/dts/ar9344_dlink_dir-835-a1.dts
@@ -44,4 +44,3 @@
};
};
};
-
diff --git a/target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi b/target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi
index b49d3458fe..2dd2297e87 100644
--- a/target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi
+++ b/target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi
@@ -148,4 +148,3 @@
status = "okay";
qca,no-eeprom;
};
-
diff --git a/target/linux/ath79/dts/ar9344_pcs_cr5000.dts b/target/linux/ath79/dts/ar9344_pcs_cr5000.dts
index 0b4a0ea374..86c59b3d5a 100644
--- a/target/linux/ath79/dts/ar9344_pcs_cr5000.dts
+++ b/target/linux/ath79/dts/ar9344_pcs_cr5000.dts
@@ -177,7 +177,6 @@
phy-mode = "rgmii";
phy-handle = <&phy0>;
-
aliases {
ag0 = ð1;
};
diff --git a/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts b/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts
index d899cff9ef..d98cbe566d 100644
--- a/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts
+++ b/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts
@@ -63,7 +63,6 @@
label = "zbt-wd323:orange:lan2";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
-
};
};
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts
index fba08e4295..1d7873621a 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts
@@ -19,4 +19,4 @@
&led_wlan {
label = "gl-ar300m-lite:green:wlan";
-};
\ No newline at end of file
+};
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts b/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
index 54aad320f6..e29b507ccb 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
@@ -49,7 +49,6 @@
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
-
};
i2c {
@@ -58,8 +57,6 @@
sda-gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
scl-gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
-
-
};
&pcie0 {
diff --git a/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts b/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
index 25c1d050da..768610c788 100644
--- a/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
+++ b/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
@@ -27,7 +27,7 @@
label = "tp-link:white:wlan5g";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
- };
+ };
qss_led: qss {
label = "tp-link:white:qss";
diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts b/target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts
index 22d70af594..2fb73656f9 100644
--- a/target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts
+++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts
@@ -165,4 +165,3 @@
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};
-
diff --git a/target/linux/ath79/dts/qca953x.dtsi b/target/linux/ath79/dts/qca953x.dtsi
index 7a7d178ff4..f127d4d01b 100644
--- a/target/linux/ath79/dts/qca953x.dtsi
+++ b/target/linux/ath79/dts/qca953x.dtsi
@@ -212,9 +212,7 @@
#address-cells = <1>;
#size-cells = <0>;
};
-
};
-
};
&cpuintc {
@@ -237,7 +235,6 @@
phy-mode = "mii";
};
-
&mdio1 {
status = "okay";
resets = <&rst 23>;
diff --git a/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v1.dts b/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v1.dts
index ff0fc0fe33..045806fa6e 100644
--- a/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v1.dts
+++ b/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v1.dts
@@ -35,7 +35,6 @@
linux,default-trigger = "phy0tpt";
};
};
-
};
&spi {
diff --git a/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v2.dts b/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v2.dts
index fc461d16d0..67ed1f886b 100644
--- a/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v2.dts
+++ b/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v2.dts
@@ -35,7 +35,6 @@
linux,default-trigger = "phy0tpt";
};
};
-
};
&spi {
diff --git a/target/linux/ath79/dts/qca9558_devolo_dvl1750e.dts b/target/linux/ath79/dts/qca9558_devolo_dvl1750e.dts
index 2570eb7cea..3d25004c40 100644
--- a/target/linux/ath79/dts/qca9558_devolo_dvl1750e.dts
+++ b/target/linux/ath79/dts/qca9558_devolo_dvl1750e.dts
@@ -54,7 +54,6 @@
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
};
-
gpio_export {
compatible = "gpio-export";
diff --git a/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts b/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
index 27f0313019..65be14ffd7 100644
--- a/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
+++ b/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
@@ -109,7 +109,6 @@
reg = <0xff0000 0x010000>;
read-only;
};
-
};
};
};
diff --git a/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts b/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts
index 3b7e3aceda..4862083f70 100644
--- a/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts
+++ b/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts
@@ -40,7 +40,6 @@
label = "librerouter-v1:blue:status";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
-
};
button {
@@ -52,7 +51,6 @@
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
debounce-interval = <60>;
};
-
};
watchdog {
@@ -62,7 +60,6 @@
hw_margin_ms = <1000>;
always-running;
};
-
};
&pcie0 {
@@ -187,7 +184,6 @@
mtd-mac-address = <&art 0x0>;
phy-handle = <&phy0>;
-
};
ð1 {
diff --git a/target/linux/ath79/dts/qca9558_ocedo_ursus.dts b/target/linux/ath79/dts/qca9558_ocedo_ursus.dts
index 4914e03ba2..5ae2e2bbb9 100644
--- a/target/linux/ath79/dts/qca9558_ocedo_ursus.dts
+++ b/target/linux/ath79/dts/qca9558_ocedo_ursus.dts
@@ -28,9 +28,7 @@
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
-
};
-
};
&pcie1 {
diff --git a/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi b/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi
index 343d318e0b..eb38c0f713 100644
--- a/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi
+++ b/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi
@@ -78,7 +78,6 @@
gpio-export,output = <1>;
gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
};
-
};
};
diff --git a/target/linux/ath79/dts/qca9558_trendnet_tew-823dru.dts b/target/linux/ath79/dts/qca9558_trendnet_tew-823dru.dts
index ca9847fab9..89887465dc 100644
--- a/target/linux/ath79/dts/qca9558_trendnet_tew-823dru.dts
+++ b/target/linux/ath79/dts/qca9558_trendnet_tew-823dru.dts
@@ -62,7 +62,6 @@
debounce-interval = <60>;
};
};
-
};
&pcie0 {
@@ -166,7 +165,6 @@
reg = <0xff0000 0x010000>;
read-only;
};
-
};
};
};
@@ -209,7 +207,6 @@
};
};
-
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi b/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi
index 141baa6bd4..687aaed26a 100644
--- a/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi
+++ b/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi
@@ -118,7 +118,6 @@
gpio-export,output = <1>;
gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
};
-
};
};
diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts
index f4add2fe31..0cc2c8a37c 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts
@@ -145,7 +145,6 @@
debounce-interval = <60>;
};
};
-
};
&pcie {
diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi
index fdd4a01d86..ab408a6954 100644
--- a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi
+++ b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi
@@ -29,7 +29,6 @@
label = "ubnt:blue:dome";
gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
};
-
};
keys {
--
2.20.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list