[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4F5D9DB4.1030404@st.com>
Date: Mon, 12 Mar 2012 12:24:44 +0530
From: Viresh Kumar <viresh.kumar@...com>
To: "dmitry.torokhov@...il.com" <dmitry.torokhov@...il.com>
Cc: "linux-input@...r.kernel.org" <linux-input@...r.kernel.org>,
Armando VISCONTI <armando.visconti@...com>,
Shiraz HASHIM <shiraz.hashim@...com>,
Vipin KUMAR <vipin.kumar@...com>,
Rajeev KUMAR <rajeev-dlh.kumar@...com>,
Deepak SIKRI <deepak.sikri@...com>,
Vipul Kumar SAMAR <vipulkumar.samar@...com>,
Amit VIRDI <Amit.VIRDI@...com>,
Pratyush ANAND <pratyush.anand@...com>,
Bhupesh SHARMA <bhupesh.sharma@...com>,
"viresh.linux@...il.com" <viresh.linux@...il.com>,
Bhavna YADAV <bhavna.yadav@...com>,
Vincenzo FRASCINO <Vincenzo.FRASCINO@...com>,
Mirko GARDI <mirko.gardi@...com>,
Salvatore DE DOMINICIS <salvatore.dedominicis@...com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] input/spear-keyboard: Remove kbd_set_plat_data()
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@...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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists