提交 598d3b70 编写于 作者: V Viresh Kumar 提交者: Dmitry Torokhov

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: NViresh Kumar <viresh.kumar@st.com>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 5c6a7a62
......@@ -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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册