ARM: dts: exynos: Remove unnecessary address/size properties in Origen
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 24 Apr 2018 17:45:59 +0000 (19:45 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sun, 29 Apr 2018 17:28:03 +0000 (19:28 +0200)
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@kernel.org>
arch/arm/boot/dts/exynos4210-origen.dts

index aa7a96c..a817147 100644 (file)
@@ -52,8 +52,6 @@
 
        gpio_keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                up {
                        label = "Up";