mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
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:
parent
1ddcff4b52
commit
02134e77e8
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user