diff mbox series

[06/17] ARM: dts: swift: Cleanup gpio-keys-polled properties

Message ID 20190726053959.2003-7-andrew@aj.id.au
State Changes Requested, archived
Headers show
Series Clean up ASPEED devicetree warnings | expand

Commit Message

Andrew Jeffery July 26, 2019, 5:39 a.m. UTC
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@us.ibm.com>
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
 arch/arm/boot/dts/aspeed-bmc-opp-swift.dts | 2 --
 1 file changed, 2 deletions(-)

Comments

Adriana Kobylak July 26, 2019, 5:53 p.m. UTC | #1
Andrew Jeffery <andrew@aj.id.au> wrote on 07/26/2019 12:39:48 AM:

> From: Andrew Jeffery <andrew@aj.id.au>
> To: linux-aspeed@lists.ozlabs.org
> Cc: Andrew Jeffery <andrew@aj.id.au>, robh+dt@kernel.org, 
> mark.rutland@arm.com, joel@jms.id.au, devicetree@vger.kernel.org, 
> linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, 
> Adriana Kobylak <anoo@us.ibm.com>
> Date: 07/26/2019 12:40 AM
> Subject: [EXTERNAL] [PATCH 06/17] ARM: dts: swift: Cleanup gpio-
> keys-polled properties
> 
> 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@us.ibm.com>
> Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

Reviewed-by: Adriana Kobylak <anoo@us.ibm.com>
Tested-by: Adriana Kobylak <anoo@us.ibm.com>

> ---
>  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 2077e8d0e096..9f934509ca1b 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 {
> -- 
> 2.20.1
>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-swift.dts b/arch/arm/boot/dts/aspeed-bmc-opp-swift.dts
index 2077e8d0e096..9f934509ca1b 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 {