]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: kzm9d: Drop unnecessary address properties from gpio_keys node
authorSimon Horman <horms+renesas@verge.net.au>
Thu, 26 Apr 2018 09:42:43 +0000 (11:42 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 2 May 2018 06:55:07 +0000 (08:55 +0200)
The gpio_keys node does not have an address and thus does not need
address-cells or address size-properties.

This is flagged by dtc as follows:
 # make dtbs W=1
 arch/arm/boot/dts/emev2-kzm9d.dtb: Warning (avoid_unnecessary_addr_size): /gpio_keys: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
arch/arm/boot/dts/emev2-kzm9d.dts

index c238407133bfe2d77abae45308771c81a34efd6e..0af44b7eadb9a5567b0f8decc32c445f53aceace 100644 (file)
@@ -34,9 +34,6 @@
 
        gpio_keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
-
                one {
                        debounce-interval = <50>;
                        wakeup-source;