]> rtime.felk.cvut.cz Git - zynq/linux.git/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>
Wed, 22 Aug 2018 10:54:45 +0000 (12:54 +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/boot/dts/zynq-zc702.dts

index b2d9f3137c5291d744dd9d946b9f73c7cf6df10b..007896d0f9ecae12c9890a61faabb9aef0052f56 100644 (file)
@@ -31,8 +31,6 @@
 
        gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
                autorepeat;
                sw14 {
                        label = "sw14";