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 06f887a37e28e597dd46904c6e0eaa4fff917282..4715cecb61fe3625e2c5f35bb0e7332edcdf42c4 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 603e2dd2d891c2a7b850073a06ae761743ccfe70..dc8f88a460cc043e1e05dde3582869e0697432e1 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 3498be044aa9cb438368bc19edf97d6a162803f9..511739b6c742a3de036fa26a2dac76bc4f6798c6 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 fc8fc89b718c5f86c03462c09af74f84e4e418d4..12e45be5744d8e264263fe02f6f8add4bda76a71 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 939bb0b76174d0a31e0a481a3c0db093496492c3..2630f5261ea0faf3f205130b716f3b71869a06f4 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 a0056dcedb730d8e095d303e05d721adb86beb2a..34664bde9425bebbd2b4705ca5d9c6b0f847c835 100644 (file)
@@ -1,5 +1,7 @@
 #include "mt7628an.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
+
 / {
        compatible = "vocore,vocore2", "mediatek,mt7628an-soc";
 
index 98c099cecc65d64f972303755ea8f8c019beec51..0b4cf699b56016be4507dcd65c67e006d05253a9 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";