Skip to content

Commit

Permalink
arm: zynq: Remove #address/#size-cells from gpio-keys
Browse files Browse the repository at this point in the history
dts reports incorrect usage of these properties in gpio-keys node.
Warning (avoid_unnecessary_addr_size): /gpio-keys: unnecessary

The patch is removing these useless properties.

Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
Michal Simek committed Jul 17, 2018
1 parent 15a96bd commit 7df8964
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions arch/arm/boot/dts/zynq-zc702.dts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
autorepeat;
sw14 {
label = "sw14";
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/boot/dts/zynq-zturn.dts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
autorepeat;
K1 {
label = "K1";
Expand Down

0 comments on commit 7df8964

Please sign in to comment.