[PATCH] mfd: anatop: matches should be NULL when populate child devices

Subsystems: multifunction devices (mfd), the rest

STALE5164d

3 messages, 3 authors, 2012-07-17 · open the first message on its own page

[PATCH] mfd: anatop: matches should be NULL when populate child devices

From: Richard Zhao <hidden>
Date: 2012-07-16 08:56:10

Signed-off-by: Richard Zhao <redacted>
---
 drivers/mfd/anatop-mfd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/anatop-mfd.c b/drivers/mfd/anatop-mfd.c
index 6da0634..5576e07 100644
--- a/drivers/mfd/anatop-mfd.c
+++ b/drivers/mfd/anatop-mfd.c
@@ -83,7 +83,7 @@ static int __devinit of_anatop_probe(struct platform_device *pdev)
 	drvdata->ioreg = ioreg;
 	spin_lock_init(&drvdata->reglock);
 	platform_set_drvdata(pdev, drvdata);
-	of_platform_populate(np, of_anatop_match, NULL, dev);
+	of_platform_populate(np, NULL, NULL, dev);
 
 	return 0;
 }
-- 
1.7.9.5

Re: [PATCH] mfd: anatop: matches should be NULL when populate child devices

From: Ying-Chun Liu (PaulLiu) <hidden>
Date: 2012-07-17 01:12:44

On 2012?07?16? 16:55, Richard Zhao wrote:
quoted hunk
Signed-off-by: Richard Zhao <redacted>
---
 drivers/mfd/anatop-mfd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/anatop-mfd.c b/drivers/mfd/anatop-mfd.c
index 6da0634..5576e07 100644
--- a/drivers/mfd/anatop-mfd.c
+++ b/drivers/mfd/anatop-mfd.c
@@ -83,7 +83,7 @@ static int __devinit of_anatop_probe(struct platform_device *pdev)
 	drvdata->ioreg = ioreg;
 	spin_lock_init(&drvdata->reglock);
 	platform_set_drvdata(pdev, drvdata);
-	of_platform_populate(np, of_anatop_match, NULL, dev);
+	of_platform_populate(np, NULL, NULL, dev);
 
 	return 0;
 }
Thanks.

Reviewed-by: Ying-Chun Liu (PaulLiu) <redacted>

-- 
                                PaulLiu (???)
E-mail: Ying-Chun Liu (PaulLiu) [off-list ref]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120717/e7798862/attachment.sig>

Re: [PATCH] mfd: anatop: matches should be NULL when populate child devices

From: Samuel Ortiz <hidden>
Date: 2012-07-17 09:18:42

Hi Richard,

On Mon, Jul 16, 2012 at 04:55:57PM +0800, Richard Zhao wrote:
Signed-off-by: Richard Zhao <redacted>
---
 drivers/mfd/anatop-mfd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied, thanks.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help