diff options
author | Richard Zhao <richard.zhao@freescale.com> | 2012-07-16 04:55:57 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-07-17 05:17:24 -0400 |
commit | 92471353976e15c3dfed74c95d08d533110e7c43 (patch) | |
tree | 43ac9a9d0a028d0582ef5be6071fdba5eebda160 /drivers/mfd/anatop-mfd.c | |
parent | ca3b3faf9bee4dc5df4f10eae2d1e48f7de0a8ad (diff) |
mfd: Matches should be NULL when populate anatop child devices
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Reviewed-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/anatop-mfd.c')
-rw-r--r-- | drivers/mfd/anatop-mfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/anatop-mfd.c b/drivers/mfd/anatop-mfd.c index 6da06341f6c9..5576e07576de 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) | |||
83 | drvdata->ioreg = ioreg; | 83 | drvdata->ioreg = ioreg; |
84 | spin_lock_init(&drvdata->reglock); | 84 | spin_lock_init(&drvdata->reglock); |
85 | platform_set_drvdata(pdev, drvdata); | 85 | platform_set_drvdata(pdev, drvdata); |
86 | of_platform_populate(np, of_anatop_match, NULL, dev); | 86 | of_platform_populate(np, NULL, NULL, dev); |
87 | 87 | ||
88 | return 0; | 88 | return 0; |
89 | } | 89 | } |