Keyboard: omap-keypad: use matrix_keypad.h
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Mon, 20 Dec 2010 21:09:22 +0000 (21:09 +0000)
committerTony Lindgren <tony@atomide.com>
Wed, 22 Dec 2010 19:11:47 +0000 (11:11 -0800)
commitda1f026b532ce944d74461497dc6d8c16456466e
tree227cd89307e0094d02e944a29225b19c2fca286b
parent4e012e5f246d4da924b14d453452fd0838d4e03b
Keyboard: omap-keypad: use matrix_keypad.h

Most keypad drivers make use of the <linux/input/matrix_keypad.h>
defined macros, structures and inline functions.

Convert omap-keypad driver to use those as well, as suggested by a
compile time warning, hardcoded into the OMAP <palt/keypad.h>.

Created against linux-2.6.37-rc5.
Tested on Amstrad Delta.
Compile tested with omap1_defconfig and omap2plus_defconfig shrinked to
board-h4.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Reviewed-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 files changed:
arch/arm/mach-omap1/board-ams-delta.c
arch/arm/mach-omap1/board-fsample.c
arch/arm/mach-omap1/board-h2.c
arch/arm/mach-omap1/board-h3.c
arch/arm/mach-omap1/board-htcherald.c
arch/arm/mach-omap1/board-innovator.c
arch/arm/mach-omap1/board-nokia770.c
arch/arm/mach-omap1/board-osk.c
arch/arm/mach-omap1/board-palmte.c
arch/arm/mach-omap1/board-palmtt.c
arch/arm/mach-omap1/board-palmz71.c
arch/arm/mach-omap1/board-perseus2.c
arch/arm/mach-omap1/board-sx1.c
arch/arm/mach-omap2/board-h4.c
arch/arm/plat-omap/include/plat/keypad.h
drivers/input/keyboard/omap-keypad.c
include/linux/input/matrix_keypad.h