summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2013-12-04 19:51:38 +0400
committerJason Cooper <jason@lakedaemon.net>2013-12-08 05:00:53 +0400
commit23301190d2a9a8c41a3d9f626791fa7a65f8ccfa (patch)
treeb6043584f5ba3c71a932f61fde2811720589de41 /arch/arm/boot/dts/kirkwood-ns2-common.dtsi
parent46ca506c43d64e11257a0a113701e9bcccf52416 (diff)
downloadlinux-23301190d2a9a8c41a3d9f626791fa7a65f8ccfa.tar.xz
ARM: DT: Kirkwood: Use symbolic names from input.h
Replace the numeric key value with a symbolic name from <bt-bindings/input/input.h> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-ns2-common.dtsi')
-rw-r--r--arch/arm/boot/dts/kirkwood-ns2-common.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
index 2fcb82e20828..3101aecdcc0a 100644
--- a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
+++ b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
@@ -64,7 +64,7 @@
button@1 {
label = "Power push button";
- linux,code = <116>;
+ linux,code = <KEY_POWER>;
gpios = <&gpio1 0 0>;
};
};