summaryrefslogtreecommitdiff
path: root/arch/arm/plat-spear/include/plat/keyboard.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2012-03-20 00:46:58 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-03-20 00:55:39 (GMT)
commit598d3b707979847d96bc4bef455ac3a0e1ec45bd (patch)
treef53bfe83aa1ec79189a5eab015437fc8f32c94d5 /arch/arm/plat-spear/include/plat/keyboard.h
parent5c6a7a62c130afef3d61c1dee153012231ff5cd9 (diff)
downloadlinux-fsl-qoriq-598d3b707979847d96bc4bef455ac3a0e1ec45bd.tar.xz
Input: spear-keyboard - remove kbd_set_plat_data()
We must use platform_device_add_data() instead of kbd_set_plat_data() so let's remove it. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'arch/arm/plat-spear/include/plat/keyboard.h')
-rw-r--r--arch/arm/plat-spear/include/plat/keyboard.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/plat-spear/include/plat/keyboard.h b/arch/arm/plat-spear/include/plat/keyboard.h
index c16cc31..0562f13 100644
--- a/arch/arm/plat-spear/include/plat/keyboard.h
+++ b/arch/arm/plat-spear/include/plat/keyboard.h
@@ -159,11 +159,4 @@ struct kbd_platform_data {
unsigned int mode;
};
-/* This function is used to set platform data field of pdev->dev */
-static inline void
-kbd_set_plat_data(struct platform_device *pdev, struct kbd_platform_data *data)
-{
- pdev->dev.platform_data = data;
-}
-
#endif /* __PLAT_KEYBOARD_H */