diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-04-16 09:24:53 +0200 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-05-16 17:01:57 +0200 |
commit | 02134e77e84905a302bc3a2b2ad4dcca913c4cc5 (patch) | |
tree | 737c6d9c8b47587c17ad19010276417d1b198f3f /arch/arm/boot/dts/imx51-babbage.dts | |
parent | ARM: dts: imx51-babbage: Add missing pingroup for PMIC (diff) | |
download | linux-02134e77e84905a302bc3a2b2ad4dcca913c4cc5.tar.xz linux-02134e77e84905a302bc3a2b2ad4dcca913c4cc5.zip |
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>
Diffstat (limited to 'arch/arm/boot/dts/imx51-babbage.dts')
-rw-r--r-- | arch/arm/boot/dts/imx51-babbage.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts index 1652f6aa1036..a8d6168c5133 100644 --- a/arch/arm/boot/dts/imx51-babbage.dts +++ b/arch/arm/boot/dts/imx51-babbage.dts @@ -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; }; }; |