[PATCH] ARM: dts: imx6qdl-gw52xx: Remove unnecessary #address-cells/#size-cells
Fabio Estevam
festevam at gmail.com
Tue Nov 24 06:57:41 EST 2020
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
More information about the linux-arm-kernel
mailing list