aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2008-01-31 00:58:52 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-01-31 00:58:52 -0500
commitd7416f9eaa5427f47648973aac3a65e7a0eeda04 (patch)
treed284d127b32296b07bc35653c030573af4e603e4 /include/asm-arm
parentInput: pxa27x_keypad - introduce driver structure and use KEY() to define matrix keys (diff)
downloadlinux-dev-d7416f9eaa5427f47648973aac3a65e7a0eeda04.tar.xz
linux-dev-d7416f9eaa5427f47648973aac3a65e7a0eeda04.zip
Input: pxa27x_keypad - introduce pxa27x_keypad_config()
Introduce pxa27x_keypad_config() for keypad registers configuration and remove the reg_kpc, reg_kprec from platform data structure so that configurations of keypad registers can be centralized to a single function. It can also be re-used when resuming. Signed-off-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/arch-pxa/pxa27x_keypad.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-arm/arch-pxa/pxa27x_keypad.h b/include/asm-arm/arch-pxa/pxa27x_keypad.h
index 1b1bf9fe6d81..23f4ebc4102d 100644
--- a/include/asm-arm/arch-pxa/pxa27x_keypad.h
+++ b/include/asm-arm/arch-pxa/pxa27x_keypad.h
@@ -13,11 +13,6 @@ struct pxa27x_keypad_platform_data {
unsigned int matrix_key_cols;
unsigned int *matrix_key_map;
int matrix_key_map_size;
-
-#ifdef CONFIG_PM
- u32 reg_kpc;
- u32 reg_kprec;
-#endif
};
#define KEY(row, col, val) (((row) << 28) | ((col) << 24) | (val))