Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 598d3b70 authored by Viresh Kumar's avatar Viresh Kumar Committed by Dmitry Torokhov
Browse files

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: default avatarViresh Kumar <viresh.kumar@st.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 5c6a7a62
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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 */