[PATCH] ARM: dts: imx6qdl-gw52xx: Remove unnecessary #address-cells/#size-cells
Tim Harvey
tharvey at gateworks.com
Mon Nov 30 13:41:23 EST 2020
On Tue, Nov 24, 2020 at 3:57 AM Fabio Estevam <festevam at gmail.com> wrote:
>
> The following W=1 build warning is observed:
>
> arch/arm/boot/dts/imx6qdl-gw52xx.dtsi:33.12-78.4: Warning (avoid_unnecessary_addr_size): /gpio-keys: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
>
> Remove the unnecessary #address-cells/#size-cells to avoid such a warning.
>
> Signed-off-by: Fabio Estevam <festevam at gmail.com>
> ---
> arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
> index 736074f1c3ef..1fb9e972b390 100644
> --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
> @@ -32,8 +32,6 @@
>
> gpio-keys {
> compatible = "gpio-keys";
> - #address-cells = <1>;
> - #size-cells = <0>;
>
> user-pb {
> label = "user_pb";
> --
> 2.17.1
>
Fabio,
Thanks for noticing this. I have the same issue in most of the other
imx6qdl-gw*.dtsi files. I can address all at once and drop this patch
if that makes sense?
Best Regards,
Tim
More information about the linux-arm-kernel
mailing list