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 <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2019-09-20 14:03:03 +02:00 committed by John Crispin
parent 2ae5100d70
commit e816c50993
27 changed files with 4 additions and 37 deletions

View file

@ -139,4 +139,3 @@
}; };
}; };
}; };

View file

@ -67,7 +67,6 @@
}; };
}; };
gpio_export { gpio_export {
compatible = "gpio-export"; compatible = "gpio-export";
#size-cells = <0>; #size-cells = <0>;
@ -79,7 +78,6 @@
}; };
}; };
&gpio2 { &gpio2 {
status = "okay"; status = "okay";
}; };

View file

@ -44,4 +44,3 @@
}; };
}; };
}; };

View file

@ -61,9 +61,7 @@
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>; debounce-interval = <60>;
}; };
}; };
}; };
&gpio1 { &gpio1 {

View file

@ -153,7 +153,6 @@
}; };
}; };
&gpio1 { &gpio1 {
status = "okay"; status = "okay";
}; };

View file

@ -13,7 +13,6 @@
bootargs = "console=ttyS0,115200"; bootargs = "console=ttyS0,115200";
}; };
aliases { aliases {
led-boot = &led_4g_0; led-boot = &led_4g_0;
led-failsafe = &led_4g_0; led-failsafe = &led_4g_0;

View file

@ -49,8 +49,6 @@
clock-frequency = <50000000>; clock-frequency = <50000000>;
}; };
palmbus: palmbus@1E000000 { palmbus: palmbus@1E000000 {
compatible = "palmbus"; compatible = "palmbus";
reg = <0x1E000000 0x100000>; reg = <0x1E000000 0x100000>;

View file

@ -117,4 +117,3 @@
}; };
}; };
}; };

View file

@ -3,7 +3,6 @@
#include "mt7621_elecom_wrc-gst.dtsi" #include "mt7621_elecom_wrc-gst.dtsi"
/ { / {
compatible = "elecom,wrc-1900gst", "mediatek,mt7621-soc"; compatible = "elecom,wrc-1900gst", "mediatek,mt7621-soc";
model = "ELECOM WRC-1900GST"; model = "ELECOM WRC-1900GST";

View file

@ -2,7 +2,6 @@
#include "mt7621_elecom_wrc-gst.dtsi" #include "mt7621_elecom_wrc-gst.dtsi"
/ { / {
compatible = "elecom,wrc-2533gst", "mediatek,mt7621-soc"; compatible = "elecom,wrc-2533gst", "mediatek,mt7621-soc";
model = "ELECOM WRC-2533GST"; model = "ELECOM WRC-2533GST";

View file

@ -127,4 +127,3 @@
}; };
}; };
}; };

View file

@ -77,7 +77,6 @@
}; };
}; };
&spi0 { &spi0 {
status = "okay"; status = "okay";
@ -144,7 +143,6 @@
mtd-mac-address-increment = <1>; mtd-mac-address-increment = <1>;
}; };
&pinctrl { &pinctrl {
state_default: pinctrl0 { state_default: pinctrl0 {
gpio { gpio {

View file

@ -88,7 +88,6 @@
}; };
}; };
&spi0 { &spi0 {
status = "okay"; status = "okay";
@ -169,7 +168,6 @@
mtd-mac-address-increment = <1>; mtd-mac-address-increment = <1>;
}; };
&pinctrl { &pinctrl {
state_default: pinctrl0 { state_default: pinctrl0 {
gpio { gpio {

View file

@ -143,7 +143,6 @@
}; };
}; };
&pinctrl { &pinctrl {
state_default: pinctrl0 { state_default: pinctrl0 {
gpio { gpio {

View file

@ -101,7 +101,6 @@
label = "firmware"; label = "firmware";
reg = <0x50000 0x7b0000>; reg = <0x50000 0x7b0000>;
}; };
}; };
}; };
}; };

View file

@ -91,4 +91,3 @@
&wmac { &wmac {
status = "okay"; status = "okay";
}; };

View file

@ -12,7 +12,6 @@
}; };
}; };
&pinctrl { &pinctrl {
state_default: pinctrl0 { state_default: pinctrl0 {
gpio { gpio {

View file

@ -97,7 +97,6 @@
ralink,function = "gpio"; ralink,function = "gpio";
}; };
i2c { i2c {
ralink,group = "i2c"; ralink,group = "i2c";
ralink,function = "gpio"; ralink,function = "gpio";

View file

@ -118,5 +118,3 @@
}; };
}; };
}; };

View file

@ -92,7 +92,6 @@
}; };
}; };
&ethernet { &ethernet {
mtd-mac-address = <&factory 0x4>; mtd-mac-address = <&factory 0x4>;
}; };

View file

@ -16,7 +16,6 @@
led-upgrade = &led_wps; led-upgrade = &led_wps;
}; };
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";

View file

@ -125,7 +125,6 @@
ralink,mtd-eeprom = <&factory 0>; ralink,mtd-eeprom = <&factory 0>;
}; };
&otg { &otg {
status = "okay"; status = "okay";
}; };

View file

@ -49,7 +49,6 @@
label = "f9k1109v1:blue:wps"; label = "f9k1109v1:blue:wps";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
}; };
}; };
keys { keys {

View file

@ -14,7 +14,6 @@
gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
realtek,extif1 = <1 0 1 1 1 1 1 1 2>; realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
}; };
}; };
&gpio1 { &gpio1 {

View file

@ -9,7 +9,6 @@
}; };
}; };
&spi0 { &spi0 {
status = "okay"; status = "okay";
@ -96,4 +95,3 @@
&uart { &uart {
status = "okay"; status = "okay";
}; };

View file

@ -103,7 +103,6 @@
mtd-mac-address = <&factory 0x28>; mtd-mac-address = <&factory 0x28>;
}; };
&esw { &esw {
mediatek,portmap = <0x2f>; mediatek,portmap = <0x2f>;
mediatek,led_polarity = <0x17>; mediatek,led_polarity = <0x17>;