Commit 02134e77 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Shawn Guo

ARM: dts: imx51-babbage: Use predefined constants for keys definition

Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: default avatarShawn Guo <shawn.guo@freescale.com>
parent 1ddcff4b
......@@ -88,7 +88,7 @@ gpio-keys {
power {
label = "Power Button";
gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
linux,code = <116>; /* KEY_POWER */
linux,code = <KEY_POWER>;
gpio-key,wakeup;
};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment