[PATCH 2/5] ARM: dts: exynos: Remove unnecessary address/size properties in Origen

Krzysztof Kozlowski krzk at kernel.org
Tue Apr 24 10:45:59 PDT 2018


The children of gpio_keys node do not have reg/ranges properties so remove
address-cells and size-cells properties.  This fixes warnings for
Exynos4210 Origen:

    arch/arm/boot/dts/exynos4210-origen.dtb: Warning (avoid_unnecessary_addr_size):
        /gpio_keys: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
---
 arch/arm/boot/dts/exynos4210-origen.dts | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts
index aa7a96cecee1..a81714745820 100644
--- a/arch/arm/boot/dts/exynos4210-origen.dts
+++ b/arch/arm/boot/dts/exynos4210-origen.dts
@@ -52,8 +52,6 @@
 
 	gpio_keys {
 		compatible = "gpio-keys";
-		#address-cells = <1>;
-		#size-cells = <0>;
 
 		up {
 			label = "Up";
-- 
2.14.1




More information about the linux-arm-kernel mailing list