summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2011-04-07 08:44:25 +0100
committerAndy Green <andy.green@linaro.org>2011-04-07 08:44:25 +0100
commita4557c4425b7e8ab2d87bd1fa0d91640750f1dc1 (patch)
tree7a30281dba2062f450e5b29e5ea0202e78022151
parent287824665343121f439463a1cc2cb4116eb5b9e9 (diff)
rename keyboard init to keypad init
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--arch/arm/mach-omap2/devices.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index fc2b07c959a..81da896271b 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -237,15 +237,6 @@ static int omap4_init_keypad(struct omap_hwmod *oh, void *user)
return 0;
}
-int omap4_keypad_initialization(struct omap4_keypad_platform_data
- *sdp4430_keypad_data)
-{
- if (!cpu_is_omap44xx())
- return -ENODEV;
-
- return omap_hwmod_for_each_by_class("kbd", omap4_init_keypad,
- sdp4430_keypad_data);
-}
#endif /* KEYBOARD CONFIG_ARCH_OMAP4 */
@@ -264,7 +255,7 @@ static struct resource omap2_mbox_resources[] = {
#endif
-int __init omap4_keyboard_init(struct omap4_keypad_platform_data
+int __init omap4_keypad_initialization(struct omap4_keypad_platform_data
*sdp4430_keypad_data)
{
struct omap_device *od;