diff options
author | Abraham Arce <x0066660@ti.com> | 2010-09-30 02:35:57 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-10-13 10:49:25 -0400 |
commit | f3a1ba60dbdbf46f2715cc4e3f8abc9d65c4d9bf (patch) | |
tree | e6a3a21412ec023e18f8cbea07377b48da4f5f7e /arch/arm/plat-omap | |
parent | 4c61c8457ee92a2afc5a43aa0821971727ebd38c (diff) |
Input: omap4-keypad - use platform device helpers
Get mem and irq resources using platform helpers
- platform_get_base
- platform_get_irq
Signed-off-by: Abraham Arce <x0066660@ti.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/omap4-keypad.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap4-keypad.h b/arch/arm/plat-omap/include/plat/omap4-keypad.h index 522a8ab5c5ff..2b1d9bc1eebb 100644 --- a/arch/arm/plat-omap/include/plat/omap4-keypad.h +++ b/arch/arm/plat-omap/include/plat/omap4-keypad.h | |||
@@ -8,9 +8,7 @@ struct omap4_keypad_platform_data { | |||
8 | 8 | ||
9 | u8 rows; | 9 | u8 rows; |
10 | u8 cols; | 10 | u8 cols; |
11 | |||
12 | u16 irq; | ||
13 | void __iomem *base; | ||
14 | }; | 11 | }; |
15 | 12 | ||
13 | extern int omap4_keyboard_init(struct omap4_keypad_platform_data *); | ||
16 | #endif | 14 | #endif |