From: Viresh Kumar Date: Tue, 20 Mar 2012 00:46:58 +0000 (-0700) Subject: Input: spear-keyboard - remove kbd_set_plat_data() X-Git-Tag: v3.5-rc6~10^2~14^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=598d3b707979847d96bc4bef455ac3a0e1ec45bd;p=platform%2Fkernel%2Flinux-3.10.git 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 Signed-off-by: Dmitry Torokhov --- 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 */