diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-04-03 04:03:43 +0200 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2016-04-14 19:04:45 +0200 |
commit | 395c755fb874e8af1d3f5eff69a954093002c9d8 (patch) | |
tree | c45032f334a19e37feba0615240f0d9df15bde6c /arch/arm/boot/dts/kirkwood-blackarmor-nas220.dts | |
parent | 9ec423ed62b8278412400fae6c064edb6ce1bb51 (diff) | |
download | lwn-395c755fb874e8af1d3f5eff69a954093002c9d8.tar.gz lwn-395c755fb874e8af1d3f5eff69a954093002c9d8.zip |
ARM: dts: kirkwood: Remove button address and fixup names
The DT compiler is now warning about unit names with addresses but not
reg property. Fix all the gpio-key buttons which causes warnings.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-blackarmor-nas220.dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-blackarmor-nas220.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/kirkwood-blackarmor-nas220.dts b/arch/arm/boot/dts/kirkwood-blackarmor-nas220.dts index fa02a9aff05e..f16a73e49a88 100644 --- a/arch/arm/boot/dts/kirkwood-blackarmor-nas220.dts +++ b/arch/arm/boot/dts/kirkwood-blackarmor-nas220.dts @@ -36,13 +36,13 @@ gpio_keys { compatible = "gpio-keys"; - button@1{ + reset { label = "Reset"; linux,code = <KEY_POWER>; gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>; }; - button@2{ + button { label = "Power"; linux,code = <KEY_SLEEP>; gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; |