]> Pileus Git - ~andy/linux/commitdiff
mfd: Matches should be NULL when populate anatop child devices
authorRichard Zhao <richard.zhao@freescale.com>
Mon, 16 Jul 2012 08:55:57 +0000 (16:55 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 17 Jul 2012 09:17:24 +0000 (11:17 +0200)
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>
drivers/mfd/anatop-mfd.c

index 6da06341f6c909312afea387e875fe82cc1592b8..5576e07576decb0684abbc3d2c3d36d80784965f 100644 (file)
@@ -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;
 }