Re: [PATCH 08/14] ARM: dts: swift: Cleanup gpio-keys-polled properties

From: Adriana Kobylak
Date: Wed Dec 04 2019 - 17:36:14 EST


On 2019-12-03 06:04, Andrew Jeffery wrote:
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: Adriana Kobylak <anoo@xxxxxxxxxx>
Signed-off-by: Andrew Jeffery <andrew@xxxxxxxx>
Reviewed-by: Joel Stanley <joel@xxxxxxxxx>

Reviewed-by: Adriana Kobylak <anoo@xxxxxxxxxx>
Tested-by: Adriana Kobylak <anoo@xxxxxxxxxx>

---
arch/arm/boot/dts/aspeed-bmc-opp-swift.dts | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-swift.dts
b/arch/arm/boot/dts/aspeed-bmc-opp-swift.dts
index 0831bc1f5a4c..555d79405884 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-swift.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-swift.dts
@@ -82,8 +82,6 @@

gpio-keys-polled {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <1000>;

scm0-presence {