]> git.sur5r.net Git - u-boot/commitdiff
arm: zynq: Drop #address-cells and #size-cells from gpio-keys
authorMichal Simek <michal.simek@xilinx.com>
Fri, 8 Jun 2018 07:36:12 +0000 (09:36 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 15 Jun 2018 06:06:31 +0000 (08:06 +0200)
dtc is showing some warnings and this change was also done in
the Linux kernel as "Input: gpio-keys - clean up device tree binding
example"
with this fragment in commit message
"Drop #address-cells and #size-cells, which are not required by the
gpio-keys binding documentation, as button sub-nodes are not devices."

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynq-zc702.dts
arch/arm/dts/zynq-zturn.dts
arch/arm/dts/zynqmp-zcu100-revC.dts
arch/arm/dts/zynqmp-zcu102-revA.dts
arch/arm/dts/zynqmp-zcu106-revA.dts
arch/arm/dts/zynqmp-zcu111-revA.dts

index bb224662bb77771e413d97290980889e49dd6d2d..12e35618f8749be3935d154f359a37e048e6e6ef 100644 (file)
@@ -30,8 +30,6 @@
 
        gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
                autorepeat;
                sw14 {
                        label = "sw14";
index 8aa384b59b7f4582ee62336469238afe15a53963..cc41efcb4631af36bab3cbfb7d21bd316d36089b 100644 (file)
@@ -49,8 +49,6 @@
 
        gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
                autorepeat;
                K1 {
                        label = "K1";
index c6aaa08a0042e671ccfc5f1b18fb5f4a75188a8a..6e575a063befbacfcaa8926f0daef2e16702dce7 100644 (file)
@@ -48,8 +48,6 @@
 
        gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
                autorepeat;
                sw4 {
                        label = "sw4";
index b7c638bc9e5acd764baae7d90d601f40128c2464..ddc3fbae1f6d893f2f20801fb80425d2612ed858 100644 (file)
@@ -45,8 +45,6 @@
 
        gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
                autorepeat;
                sw19 {
                        label = "sw19";
index bbcd26031de22dbceeb436c00fb8546618a1360d..a30268b7b11cb22b68eb0fdf38b9e6b1df3542d0 100644 (file)
@@ -45,8 +45,6 @@
 
        gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
                autorepeat;
                sw19 {
                        label = "sw19";
index aa9055b7152a78314d8f65e761e7ccdbc196eec8..6c1a0f7a3b31e0f18d1884ee724f5a7631445d49 100644 (file)
@@ -45,8 +45,6 @@
 
        gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
                autorepeat;
                sw19 {
                        label = "sw19";