linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] input: pmic8xxx-keypad: Do not use mfd_get_data()
@ 2011-06-08  9:13 Samuel Ortiz
  2011-06-11 23:21 ` Dmitry Torokhov
  0 siblings, 1 reply; 3+ messages in thread
From: Samuel Ortiz @ 2011-06-08  9:13 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-kernel, Anirudh Ghayal


mfd_get_data() has been removed from the MFD API.

Cc: Anirudh Ghayal <aghayal@codeaurora.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
---
 drivers/input/keyboard/pmic8xxx-keypad.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/input/keyboard/pmic8xxx-keypad.c b/drivers/input/keyboard/pmic8xxx-keypad.c
index 40b02ae..6229c3e 100644
--- a/drivers/input/keyboard/pmic8xxx-keypad.c
+++ b/drivers/input/keyboard/pmic8xxx-keypad.c
@@ -520,7 +520,8 @@ static void pmic8xxx_kp_close(struct input_dev *dev)
  */
 static int __devinit pmic8xxx_kp_probe(struct platform_device *pdev)
 {
-	const struct pm8xxx_keypad_platform_data *pdata = mfd_get_data(pdev);
+	const struct pm8xxx_keypad_platform_data *pdata =
+					dev_get_platdata(&pdev->dev);
 	const struct matrix_keymap_data *keymap_data;
 	struct pmic8xxx_kp *kp;
 	int rc;
-- 
1.7.2.3

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] input: pmic8xxx-keypad: Do not use mfd_get_data()
  2011-06-08  9:13 [PATCH 1/2] input: pmic8xxx-keypad: Do not use mfd_get_data() Samuel Ortiz
@ 2011-06-11 23:21 ` Dmitry Torokhov
  2011-06-14  7:58   ` Samuel Ortiz
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2011-06-11 23:21 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-kernel, Anirudh Ghayal

On Wed, Jun 08, 2011 at 11:13:41AM +0200, Samuel Ortiz wrote:
> 
> mfd_get_data() has been removed from the MFD API.
> 
> Cc: Anirudh Ghayal <aghayal@codeaurora.org>
> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

Acked-by: Dmitry Torokhov <dtor@mail.ru>

Samuel, do you want to push this and the other patch with my acks
through your tree?

Thanks!

-- 
Dmitry

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] input: pmic8xxx-keypad: Do not use mfd_get_data()
  2011-06-11 23:21 ` Dmitry Torokhov
@ 2011-06-14  7:58   ` Samuel Ortiz
  0 siblings, 0 replies; 3+ messages in thread
From: Samuel Ortiz @ 2011-06-14  7:58 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-kernel, Anirudh Ghayal

Hi Dmitry,

On Sat, Jun 11, 2011 at 04:21:46PM -0700, Dmitry Torokhov wrote:
> On Wed, Jun 08, 2011 at 11:13:41AM +0200, Samuel Ortiz wrote:
> > 
> > mfd_get_data() has been removed from the MFD API.
> > 
> > Cc: Anirudh Ghayal <aghayal@codeaurora.org>
> > Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
> 
> Acked-by: Dmitry Torokhov <dtor@mail.ru>
> 
> Samuel, do you want to push this and the other patch with my acks
> through your tree?
Yes, I'd like to do so. I'm hopefully going to be able to find time this week
to send an MFD fixes pull request to Linus, and those 2 will be part of it.
Thanks for the ACK.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-14  7:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-08  9:13 [PATCH 1/2] input: pmic8xxx-keypad: Do not use mfd_get_data() Samuel Ortiz
2011-06-11 23:21 ` Dmitry Torokhov
2011-06-14  7:58   ` Samuel Ortiz

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).