]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ARM: dts: fp5280g2: Cleanup gpio-keys-polled properties
authorAndrew Jeffery <andrew@aj.id.au>
Tue, 3 Dec 2019 12:04:08 +0000 (22:34 +1030)
committerJoel Stanley <joel@jms.id.au>
Tue, 17 Dec 2019 02:38:16 +0000 (13:38 +1100)
dtbs_check gave the following warning:

    Warning (avoid_unnecessary_addr_size): /gpio-keys-polled: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Cc: John Wang <wangzqbj@inspur.com>
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Adriana Kobylak <anoo@us.ibm.com>
Tested-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-inspur-fp5280g2.dts

index c17bb7fce7ffc1ad171d51db7a8e839e9ccfef3b..62a3ab4c1866fd62cbc5be4f280c0def64673d61 100644 (file)
@@ -94,8 +94,6 @@
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <1000>;
 
                fan0-presence {