summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2011-05-31 09:24:56 +0100
committerAndy Green <andy.green@linaro.org>2011-05-31 11:06:25 +0100
commit481c06f573f1751f0557bbe3d6e448418d117dc8 (patch)
treeb459e0aff518b413e8494c6b1d653915cbb755bc /arch
parent6a4f897d5802585e10bc4c79cf480f919f8a273e (diff)
rename keyboard init to keypad init
Signed-off-by: Andy Green <andy.green@linaro.org>
Diffstat (limited to 'arch')
-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 cb2aca03ed9..77824dd4689 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -238,15 +238,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 */
@@ -265,7 +256,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;