Skip to content

Commit

Permalink
mfd: Matches should be NULL when populate anatop child devices
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Zhao authored and Samuel Ortiz committed Jul 17, 2012
1 parent ca3b3fa commit 9247135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/anatop-mfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9247135

Please sign in to comment.