diff options
author | H. Nikolaus Schaller <hns@goldelico.com> | 2018-07-31 10:11:18 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-09-07 20:10:55 +0300 |
commit | 39b1c4944f712b49878d3cb9c573b829df5d6275 (patch) | |
tree | 3ff242b48de92c3415445b31732b3968d0faede7 /arch/arm/boot/dts/omap3-gta04.dtsi | |
parent | f38bb4e9ec8fb08b1babc8810d751927b05b6a6d (diff) | |
download | linux-39b1c4944f712b49878d3cb9c573b829df5d6275.tar.xz |
ARM: dts: omap3-gta04: make use of input event include file and constants
we can replace magic numbers by symbolic constants now.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-gta04.dtsi')
-rw-r--r-- | arch/arm/boot/dts/omap3-gta04.dtsi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index bb4c9ad62edb..98f31f1814d0 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta04.dtsi @@ -10,6 +10,7 @@ /dts-v1/; #include "omap36xx.dtsi" +#include <dt-bindings/input/input.h> / { model = "OMAP3 GTA04"; @@ -43,7 +44,7 @@ aux-button { label = "aux"; - linux,code = <169>; + linux,code = <KEY_PHONE>; gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; wakeup-source; }; |