From: Adrian Schmutzler Date: Fri, 20 Sep 2019 12:03:03 +0000 (+0200) Subject: ramips: fix whitespace issues in DTS files X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e816c50993890ffb6b25ec9f351e8133719b5007;p=openwrt%2Fstaging%2Fnbd.git ramips: fix whitespace issues in DTS files 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 ramips target. Signed-off-by: Adrian Schmutzler --- diff --git a/target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts b/target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts index 885e64f9f2..be738559f1 100644 --- a/target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts +++ b/target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts @@ -139,4 +139,3 @@ }; }; }; - diff --git a/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts b/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts index 5c90aa1549..8f87212902 100644 --- a/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts +++ b/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts @@ -67,7 +67,6 @@ }; }; - gpio_export { compatible = "gpio-export"; #size-cells = <0>; @@ -79,7 +78,6 @@ }; }; - &gpio2 { status = "okay"; }; diff --git a/target/linux/ramips/dts/mt7620a_edimax_ew-7476rpc.dts b/target/linux/ramips/dts/mt7620a_edimax_ew-7476rpc.dts index eb326ccbd8..782263a068 100644 --- a/target/linux/ramips/dts/mt7620a_edimax_ew-7476rpc.dts +++ b/target/linux/ramips/dts/mt7620a_edimax_ew-7476rpc.dts @@ -44,4 +44,3 @@ }; }; }; - diff --git a/target/linux/ramips/dts/mt7620a_engenius_esr600.dts b/target/linux/ramips/dts/mt7620a_engenius_esr600.dts index 4636a54736..65d71b99af 100644 --- a/target/linux/ramips/dts/mt7620a_engenius_esr600.dts +++ b/target/linux/ramips/dts/mt7620a_engenius_esr600.dts @@ -61,10 +61,8 @@ linux,code = ; debounce-interval = <60>; }; - }; - - }; +}; &gpio1 { status = "okay"; diff --git a/target/linux/ramips/dts/mt7620a_head-weblink_hdrm200.dts b/target/linux/ramips/dts/mt7620a_head-weblink_hdrm200.dts index ad16d02716..72cd24ae48 100644 --- a/target/linux/ramips/dts/mt7620a_head-weblink_hdrm200.dts +++ b/target/linux/ramips/dts/mt7620a_head-weblink_hdrm200.dts @@ -184,5 +184,5 @@ }; &uart { - status = "okay"; + status = "okay"; }; diff --git a/target/linux/ramips/dts/mt7620a_tplink_archer-c2-v1.dts b/target/linux/ramips/dts/mt7620a_tplink_archer-c2-v1.dts index 2d7f6c03a3..2da35936b1 100644 --- a/target/linux/ramips/dts/mt7620a_tplink_archer-c2-v1.dts +++ b/target/linux/ramips/dts/mt7620a_tplink_archer-c2-v1.dts @@ -153,7 +153,6 @@ }; }; - &gpio1 { status = "okay"; }; diff --git a/target/linux/ramips/dts/mt7620n_zbtlink_zbt-cpe102.dts b/target/linux/ramips/dts/mt7620n_zbtlink_zbt-cpe102.dts index 6f0213bf70..f620e1bcd8 100644 --- a/target/linux/ramips/dts/mt7620n_zbtlink_zbt-cpe102.dts +++ b/target/linux/ramips/dts/mt7620n_zbtlink_zbt-cpe102.dts @@ -13,7 +13,6 @@ bootargs = "console=ttyS0,115200"; }; - aliases { led-boot = &led_4g_0; led-failsafe = &led_4g_0; diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 4f69e0902e..849f1f0a09 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -49,8 +49,6 @@ clock-frequency = <50000000>; }; - - palmbus: palmbus@1E000000 { compatible = "palmbus"; reg = <0x1E000000 0x100000>; diff --git a/target/linux/ramips/dts/mt7621_asiarf_ap7621.dtsi b/target/linux/ramips/dts/mt7621_asiarf_ap7621.dtsi index 044b06b3c4..eb5a60bcdc 100644 --- a/target/linux/ramips/dts/mt7621_asiarf_ap7621.dtsi +++ b/target/linux/ramips/dts/mt7621_asiarf_ap7621.dtsi @@ -117,4 +117,3 @@ }; }; }; - diff --git a/target/linux/ramips/dts/mt7621_elecom_wrc-1900gst.dts b/target/linux/ramips/dts/mt7621_elecom_wrc-1900gst.dts index 2135f00ea2..7cbf2cd803 100644 --- a/target/linux/ramips/dts/mt7621_elecom_wrc-1900gst.dts +++ b/target/linux/ramips/dts/mt7621_elecom_wrc-1900gst.dts @@ -3,8 +3,7 @@ #include "mt7621_elecom_wrc-gst.dtsi" - / { compatible = "elecom,wrc-1900gst", "mediatek,mt7621-soc"; model = "ELECOM WRC-1900GST"; - }; +}; diff --git a/target/linux/ramips/dts/mt7621_elecom_wrc-2533gst.dts b/target/linux/ramips/dts/mt7621_elecom_wrc-2533gst.dts index 75c71c96d4..aa15674b43 100644 --- a/target/linux/ramips/dts/mt7621_elecom_wrc-2533gst.dts +++ b/target/linux/ramips/dts/mt7621_elecom_wrc-2533gst.dts @@ -2,8 +2,7 @@ #include "mt7621_elecom_wrc-gst.dtsi" - / { compatible = "elecom,wrc-2533gst", "mediatek,mt7621-soc"; model = "ELECOM WRC-2533GST"; - }; +}; diff --git a/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts b/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts index a5fe411d0e..17e7121234 100644 --- a/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts +++ b/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts @@ -127,4 +127,3 @@ }; }; }; - diff --git a/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts b/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts index 66ce61db3d..700997413b 100644 --- a/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts +++ b/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts @@ -77,7 +77,6 @@ }; }; - &spi0 { status = "okay"; @@ -144,7 +143,6 @@ mtd-mac-address-increment = <1>; }; - &pinctrl { state_default: pinctrl0 { gpio { diff --git a/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts b/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts index 8abc08e200..a9b5ee87a6 100644 --- a/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts +++ b/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts @@ -88,7 +88,6 @@ }; }; - &spi0 { status = "okay"; @@ -169,7 +168,6 @@ mtd-mac-address-increment = <1>; }; - &pinctrl { state_default: pinctrl0 { gpio { diff --git a/target/linux/ramips/dts/mt7621_mtc_wr1201.dts b/target/linux/ramips/dts/mt7621_mtc_wr1201.dts index 885f6dcc8d..81caed9104 100644 --- a/target/linux/ramips/dts/mt7621_mtc_wr1201.dts +++ b/target/linux/ramips/dts/mt7621_mtc_wr1201.dts @@ -143,7 +143,6 @@ }; }; - &pinctrl { state_default: pinctrl0 { gpio { diff --git a/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts b/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts index 074a5ab1ae..613edf6cf4 100644 --- a/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts +++ b/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts @@ -101,7 +101,6 @@ label = "firmware"; reg = <0x50000 0x7b0000>; }; - }; }; }; diff --git a/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts b/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts index 77e9abacb9..41a140e269 100644 --- a/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts +++ b/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts @@ -91,4 +91,3 @@ &wmac { status = "okay"; }; - diff --git a/target/linux/ramips/dts/mt7628an_vocore_vocore2.dtsi b/target/linux/ramips/dts/mt7628an_vocore_vocore2.dtsi index 0f7e63dfe3..6a312ff0b1 100644 --- a/target/linux/ramips/dts/mt7628an_vocore_vocore2.dtsi +++ b/target/linux/ramips/dts/mt7628an_vocore_vocore2.dtsi @@ -12,7 +12,6 @@ }; }; - &pinctrl { state_default: pinctrl0 { gpio { diff --git a/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts b/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts index 13475fe324..1ddd8190a8 100644 --- a/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts +++ b/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts @@ -97,7 +97,6 @@ ralink,function = "gpio"; }; - i2c { ralink,group = "i2c"; ralink,function = "gpio"; diff --git a/target/linux/ramips/dts/rt3050_dlink_dir-615-d.dts b/target/linux/ramips/dts/rt3050_dlink_dir-615-d.dts index 16018ff1f0..c0593dd6e9 100644 --- a/target/linux/ramips/dts/rt3050_dlink_dir-615-d.dts +++ b/target/linux/ramips/dts/rt3050_dlink_dir-615-d.dts @@ -118,5 +118,3 @@ }; }; }; - - diff --git a/target/linux/ramips/dts/rt3052_argus_atp-52b.dts b/target/linux/ramips/dts/rt3052_argus_atp-52b.dts index 2fa5c19d04..046fe676c5 100644 --- a/target/linux/ramips/dts/rt3052_argus_atp-52b.dts +++ b/target/linux/ramips/dts/rt3052_argus_atp-52b.dts @@ -92,7 +92,6 @@ }; }; - ðernet { mtd-mac-address = <&factory 0x4>; }; diff --git a/target/linux/ramips/dts/rt3052_asiarf_awapn2403.dts b/target/linux/ramips/dts/rt3052_asiarf_awapn2403.dts index 97f105a631..38ad539eb9 100644 --- a/target/linux/ramips/dts/rt3052_asiarf_awapn2403.dts +++ b/target/linux/ramips/dts/rt3052_asiarf_awapn2403.dts @@ -16,7 +16,6 @@ led-upgrade = &led_wps; }; - leds { compatible = "gpio-leds"; diff --git a/target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts b/target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts index ffb76e3bf4..d8efb425e8 100644 --- a/target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts +++ b/target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts @@ -125,7 +125,6 @@ ralink,mtd-eeprom = <&factory 0>; }; - &otg { status = "okay"; }; diff --git a/target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts b/target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts index 172a799632..98c099cecc 100644 --- a/target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts +++ b/target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts @@ -49,7 +49,6 @@ label = "f9k1109v1:blue:wps"; gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; }; - }; keys { diff --git a/target/linux/ramips/dts/rt3883_belkin_f9k110x.dtsi b/target/linux/ramips/dts/rt3883_belkin_f9k110x.dtsi index a34c3f3600..98ad1b13e2 100644 --- a/target/linux/ramips/dts/rt3883_belkin_f9k110x.dtsi +++ b/target/linux/ramips/dts/rt3883_belkin_f9k110x.dtsi @@ -14,7 +14,6 @@ gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; realtek,extif1 = <1 0 1 1 1 1 1 1 2>; }; - }; &gpio1 { diff --git a/target/linux/ramips/dts/rt5350_olimex_rt5350f-olinuxino.dtsi b/target/linux/ramips/dts/rt5350_olimex_rt5350f-olinuxino.dtsi index 88b412c8d6..ff30966bf5 100644 --- a/target/linux/ramips/dts/rt5350_olimex_rt5350f-olinuxino.dtsi +++ b/target/linux/ramips/dts/rt5350_olimex_rt5350f-olinuxino.dtsi @@ -9,7 +9,6 @@ }; }; - &spi0 { status = "okay"; @@ -96,4 +95,3 @@ &uart { status = "okay"; }; - diff --git a/target/linux/ramips/dts/rt5350_zyxel_keenetic-start.dts b/target/linux/ramips/dts/rt5350_zyxel_keenetic-start.dts index 6f1f6097cc..b8db4fdc7f 100644 --- a/target/linux/ramips/dts/rt5350_zyxel_keenetic-start.dts +++ b/target/linux/ramips/dts/rt5350_zyxel_keenetic-start.dts @@ -103,7 +103,6 @@ mtd-mac-address = <&factory 0x28>; }; - &esw { mediatek,portmap = <0x2f>; mediatek,led_polarity = <0x17>;