Skip to content

Commit

Permalink
ARM: dts: exynos: Remove unnecessary address/size properties in Origen
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Krzysztof Kozlowski committed Apr 29, 2018
1 parent 33b9e71 commit e88d46c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/boot/dts/exynos4210-origen.dts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@

gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

up {
label = "Up";
Expand Down

0 comments on commit e88d46c

Please sign in to comment.