]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: meson-gxl-s905x-khadas-vim: fix gpio-keys-polled node
authorChristian Hewitt <christianshewitt@gmail.com>
Mon, 9 Sep 2019 15:01:22 +0000 (19:01 +0400)
committerKevin Hilman <khilman@baylibre.com>
Mon, 7 Oct 2019 18:13:37 +0000 (11:13 -0700)
Fix DTC warnings:

arch/arm/dts/meson-gxl-s905x-khadas-vim.dtb: Warning (avoid_unnecessary_addr_size):
   /gpio-keys-polled: unnecessary #address-cells/#size-cells
      without "ranges" or child "reg" property

Fixes: e15d2774b8c0 ("ARM64: dts: meson-gxl: add support for the Khadas VIM board")
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts

index 2a5cd303123de4e4ba82b18a12ef81ec20aa1237..3ce11976b8eb20bde6dd7ce22c71903caa7bfb8d 100644 (file)
@@ -33,11 +33,9 @@ aliases {
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <100>;
 
-               button@0 {
+               power-button {
                        label = "power";
                        linux,code = <KEY_POWER>;
                        gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>;