ramips: remove redundant includes in DTS files
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 22 Feb 2020 18:26:17 +0000 (19:26 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 22 Feb 2020 18:26:17 +0000 (19:26 +0100)
Many DTS files contain the same includes again that are already
present in the DTSI files they are derived from.

Remove those redundant includes in the DTS files. For vocore, the
include is moved to the parent DTSI file.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx-sfp.dts
target/linux/ramips/dts/mt7621_unielec_u7621-06-16m.dts
target/linux/ramips/dts/mt7621_unielec_u7621-06-64m.dts
target/linux/ramips/dts/mt7628an_vocore_vocore2-lite.dts
target/linux/ramips/dts/mt7628an_vocore_vocore2.dts
target/linux/ramips/dts/mt7628an_vocore_vocore2.dtsi
target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts

index 06f887a..4715cec 100644 (file)
@@ -2,8 +2,6 @@
 
 #include "mt7621_ubiquiti_edgerouterx.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-
 / {
        model = "UBNT-ERX-SFP";
        compatible = "ubiquiti,edgerouterx-sfp", "mediatek,mt7621-soc";
index 603e2dd..dc8f88a 100644 (file)
@@ -36,9 +36,6 @@
 
 #include "mt7621_unielec_u7621-06.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
 / {
        compatible = "unielec,u7621-06-16m", "unielec,u7621-06", "mediatek,mt7621-soc";
        model = "UniElec U7621-06 (16M flash)";
index 3498be0..511739b 100644 (file)
@@ -37,9 +37,6 @@
 
 #include "mt7621_unielec_u7621-06.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
 / {
        compatible = "unielec,u7621-06-64m", "unielec,u7621-06", "mediatek,mt7621-soc";
        model = "UniElec U7621-06 (64M flash)";
index fc8fc89..12e45be 100644 (file)
@@ -2,8 +2,6 @@
 
 #include "mt7628an_vocore_vocore2.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-
 / {
        compatible = "vocore,vocore2-lite", "vocore,vocore2", "mediatek,mt7628an-soc";
        model = "VoCore2-Lite";
index 939bb0b..2630f52 100644 (file)
@@ -2,8 +2,6 @@
 
 #include "mt7628an_vocore_vocore2.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-
 / {
        compatible = "vocore,vocore2", "mediatek,mt7628an-soc";
        model = "VoCore2";
index a0056dc..34664bd 100644 (file)
@@ -1,5 +1,7 @@
 #include "mt7628an.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
+
 / {
        compatible = "vocore,vocore2", "mediatek,mt7628an-soc";
 
index 98c099c..0b4cf69 100644 (file)
@@ -3,9 +3,6 @@
 
 #include "rt3883_belkin_f9k110x.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
 / {
        compatible = "belkin,f9k1109v1", "ralink,rt3883-soc";
        model = "Belkin F9K1109 Version 1.0";