summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/devices/platform-imx-keypad.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@freescale.com>2014-05-19 14:19:11 +0800
committerShawn Guo <shawn.guo@freescale.com>2014-07-18 16:10:05 +0800
commit152e671e91dd3f1b3448040ce6251f0ef95a6ef1 (patch)
treeaefba035b062cbcd6e0bb9a85ff123c80b4c4a8d /arch/arm/mach-imx/devices/platform-imx-keypad.c
parent912532aebf02b372c613fc22834d72d40a97ee7a (diff)
ARM: imx5: remove i.MX5 non-DT device registration helpers
i.MX5 is DT only platforms, so these non-DT device registration helpers is used nowhere. Remove them. Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/devices/platform-imx-keypad.c')
-rw-r--r--arch/arm/mach-imx/devices/platform-imx-keypad.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-imx/devices/platform-imx-keypad.c b/arch/arm/mach-imx/devices/platform-imx-keypad.c
index 8f22a4c98a4c..f42200b7aca9 100644
--- a/arch/arm/mach-imx/devices/platform-imx-keypad.c
+++ b/arch/arm/mach-imx/devices/platform-imx-keypad.c
@@ -41,16 +41,6 @@ const struct imx_imx_keypad_data imx35_imx_keypad_data __initconst =
imx_imx_keypad_data_entry_single(MX35, SZ_16);
#endif /* ifdef CONFIG_SOC_IMX35 */
-#ifdef CONFIG_SOC_IMX51
-const struct imx_imx_keypad_data imx51_imx_keypad_data __initconst =
- imx_imx_keypad_data_entry_single(MX51, SZ_16);
-#endif /* ifdef CONFIG_SOC_IMX51 */
-
-#ifdef CONFIG_SOC_IMX53
-const struct imx_imx_keypad_data imx53_imx_keypad_data __initconst =
- imx_imx_keypad_data_entry_single(MX53, SZ_16);
-#endif /* ifdef CONFIG_SOC_IMX53 */
-
struct platform_device *__init imx_add_imx_keypad(
const struct imx_imx_keypad_data *data,
const struct matrix_keymap_data *pdata)