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

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
This commit is contained in:
Alexander Shiyan 2014-04-16 11:24:53 +04:00 committed by Shawn Guo
parent 1ddcff4b52
commit 02134e77e8

View File

@ -88,7 +88,7 @@
power {
label = "Power Button";
gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
linux,code = <116>; /* KEY_POWER */
linux,code = <KEY_POWER>;
gpio-key,wakeup;
};
};