]> err.no Git - linux-2.6/commit
Input: pxa27x_keypad - introduce pxa27x_keypad_config()
authorEric Miao <eric.y.miao@gmail.com>
Thu, 31 Jan 2008 05:58:52 +0000 (00:58 -0500)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 31 Jan 2008 05:58:52 +0000 (00:58 -0500)
commitd7416f9eaa5427f47648973aac3a65e7a0eeda04
treed284d127b32296b07bc35653c030573af4e603e4
parent1814db69698479eec2c000a43c83b5f263f6fbb6
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>
drivers/input/keyboard/pxa27x_keypad.c
include/asm-arm/arch-pxa/pxa27x_keypad.h