ARM: dts: rockchip: Remove #address/#size-cells from rk3288-veyron gpio-keys
authorDouglas Anderson <dianders@chromium.org>
Wed, 20 Mar 2019 20:14:02 +0000 (13:14 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 25 Mar 2019 12:33:10 +0000 (13:33 +0100)
They are pointless.  As dtc points out:
  Warning (avoid_unnecessary_addr_size):
  /gpio-keys:
  unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Let's remove them.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-veyron.dtsi

index 0bc2409f6903ffec1512942e9e657d9d983a2c35..192dbc089ade1730b9dce6bca8d356f3b0c83a00 100644 (file)
@@ -25,8 +25,6 @@
 
        gpio_keys: gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                pinctrl-names = "default";
                pinctrl-0 = <&pwr_key_l>;