2018-05-12 21:42:52

by David Lechner

[permalink] [raw]
Subject: [PATCH] ARM: dts: da850-lego-ev3: remove unnecessary gpio-keys properties

This removes the #address-cells and #size-cells properties from the
gpio-keys node in the da850-lego-ev3 device tree. These properties are
not needed since the child nodes don't have a reg property.

Signed-off-by: David Lechner <[email protected]>
---
arch/arm/boot/dts/da850-lego-ev3.dts | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/arm/boot/dts/da850-lego-ev3.dts b/arch/arm/boot/dts/da850-lego-ev3.dts
index d4a131b6a46e..3fe8db69f50c 100644
--- a/arch/arm/boot/dts/da850-lego-ev3.dts
+++ b/arch/arm/boot/dts/da850-lego-ev3.dts
@@ -33,8 +33,6 @@
*/
gpio_keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
label = "EV3 Brick Buttons";
pinctrl-names = "default";
pinctrl-0 = <&button_bias>;
--
2.17.0



2018-05-14 10:07:04

by Sekhar Nori

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: da850-lego-ev3: remove unnecessary gpio-keys properties

On Sunday 13 May 2018 03:11 AM, David Lechner wrote:
> This removes the #address-cells and #size-cells properties from the
> gpio-keys node in the da850-lego-ev3 device tree. These properties are
> not needed since the child nodes don't have a reg property.
>
> Signed-off-by: David Lechner <[email protected]>

Applied to v4.18/dt. Its too late to sent W=1 warning fixes for v4.17 cycle.

Thanks,
Sekhar