Skip to content

Commit

Permalink
Input: spear-keyboard - remove kbd_set_plat_data()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Viresh Kumar authored and Dmitry Torokhov committed Mar 20, 2012
1 parent 5c6a7a6 commit 598d3b7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/arm/plat-spear/include/plat/keyboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 598d3b7

Please sign in to comment.