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

Adriana Kobylak anoo at us.ibm.com
Sat Jul 27 03:53:29 AEST 2019


Andrew Jeffery <andrew at aj.id.au> wrote on 07/26/2019 12:39:48 AM:

> From: Andrew Jeffery <andrew at aj.id.au>
> To: linux-aspeed at lists.ozlabs.org
> Cc: Andrew Jeffery <andrew at aj.id.au>, robh+dt at kernel.org, 
> mark.rutland at arm.com, joel at jms.id.au, devicetree at vger.kernel.org, 
> linux-arm-kernel at lists.infradead.org, linux-kernel at vger.kernel.org, 
> Adriana Kobylak <anoo at 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 at us.ibm.com>
> Signed-off-by: Andrew Jeffery <andrew at aj.id.au>

Reviewed-by: Adriana Kobylak <anoo at us.ibm.com>
Tested-by: Adriana Kobylak <anoo at 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
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20190726/a10d5722/attachment-0001.htm>


More information about the Linux-aspeed mailing list