]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: at91/dt: gpio-keys: address-cells and size-cells properties are not needed
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 4 Mar 2015 17:31:03 +0000 (18:31 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 4 Mar 2015 17:36:11 +0000 (18:36 +0100)
Gpio-keys nodes are not using the "reg" property in their sub nodes.
So, there is no need to define #address-cells and #size-cells properties
in gpio-keys nodes: we remove them in these new boards.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/boot/dts/at91-sama5d4ek.dts
arch/arm/boot/dts/sama5d35ek.dts

index 9198b719d0ef24d0ab4bef18ca7fd67a61dfd1df..61f537a68ee85152027ad818cd7e0fab4e90afcf 100644 (file)
 
        gpio_keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_key_gpio>;
index 9089c7c6cea863e547a26d7c8d2233c138827334..d9a9aca1ccfdf6d5514b535241d7c5f2ae379e92 100644 (file)
@@ -44,8 +44,6 @@
 
        gpio_keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                pb_user1 {
                        label = "pb_user1";