summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorXinyu Chen <xinyu.chen@freescale.com>2012-05-08 13:26:12 +0800
committerXinyu Chen <xinyu.chen@freescale.com>2012-05-08 13:54:12 +0800
commit0477b2baed23f634842f38409a0780bff83c7cd0 (patch)
treeaba1b60ecf1f07b9ca8b8c694e5003a464afca57 /arch
parent1d05c39ed784123c4ff9efd25c87f3ee79b34d5e (diff)
ENGR00182101 mx6q sabresd: remove the power key define
The real power key defined will mark the KEY_POWER down event in the device events record as it's gpio is always low. This impact the workarounded power key VOL-, and it's first down event will be dropped. So just remove the real power key define. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabresd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabresd.c b/arch/arm/mach-mx6/board-mx6q_sabresd.c
index 1d714f014fa3..c808fe705ef9 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabresd.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabresd.c
@@ -1440,7 +1440,6 @@ static void __init imx6q_add_device_gpio_leds(void) {}
static struct gpio_keys_button imx6q_buttons[] = {
GPIO_BUTTON(SABRESD_VOLUME_UP, KEY_VOLUMEUP, 1, "volume-up", 0),
GPIO_BUTTON(SABRESD_VOLUME_DN, KEY_POWER, 1, "volume-down", 1),
- GPIO_BUTTON(SABRESD_POWER_OFF, KEY_POWER, 1, "power", 1),
};
static struct gpio_keys_platform_data imx6q_button_data = {