* [PATCH] input/spear-keyboard: Remove kbd_set_plat_data()
@ 2012-02-27 5:39 Viresh Kumar
2012-03-12 6:54 ` Viresh Kumar
0 siblings, 1 reply; 2+ messages in thread
From: Viresh Kumar @ 2012-02-27 5:39 UTC (permalink / raw)
To: dmitry.torokhov
Cc: linux-input, armando.visconti, shiraz.hashim, vipin.kumar,
rajeev-dlh.kumar, deepak.sikri, vipulkumar.samar, amit.virdi,
viresh.kumar, pratyush.anand, bhupesh.sharma, viresh.linux,
bhavna.yadav, vincenzo.frascino, mirko.gardi,
salvatore.dedominicis, linux-kernel
We must use platform_device_add_data() instead of kbd_set_plat_data(). Remove
definition of kbd_set_plat_data().
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
---
arch/arm/plat-spear/include/plat/keyboard.h | 7 -------
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 */
--
1.7.8.110.g4cb5d
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] input/spear-keyboard: Remove kbd_set_plat_data()
2012-02-27 5:39 [PATCH] input/spear-keyboard: Remove kbd_set_plat_data() Viresh Kumar
@ 2012-03-12 6:54 ` Viresh Kumar
0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2012-03-12 6:54 UTC (permalink / raw)
To: dmitry.torokhov@gmail.com
Cc: linux-input@vger.kernel.org, Armando VISCONTI, Shiraz HASHIM,
Vipin KUMAR, Rajeev KUMAR, Deepak SIKRI, Vipul Kumar SAMAR,
Amit VIRDI, Pratyush ANAND, Bhupesh SHARMA,
viresh.linux@gmail.com, Bhavna YADAV, Vincenzo FRASCINO,
Mirko GARDI, Salvatore DE DOMINICIS, linux-kernel@vger.kernel.org
On 2/27/2012 11:09 AM, Viresh KUMAR wrote:
> We must use platform_device_add_data() instead of kbd_set_plat_data(). Remove
> definition of kbd_set_plat_data().
>
> Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
> ---
> arch/arm/plat-spear/include/plat/keyboard.h | 7 -------
> 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 */
Hi Dmitry,
Have you applied this patch?
--
viresh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-12 6:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-27 5:39 [PATCH] input/spear-keyboard: Remove kbd_set_plat_data() Viresh Kumar
2012-03-12 6:54 ` Viresh Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).