diff mbox

mfd: anatop: matches should be NULL when populate child devices

Message ID 1342428957-14321-1-git-send-email-richard.zhao@freescale.com (mailing list archive)
State New, archived
Headers show

Commit Message

Richard Zhao July 16, 2012, 8:55 a.m. UTC
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
---
 drivers/mfd/anatop-mfd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ying-Chun Liu (PaulLiu) July 17, 2012, 1:12 a.m. UTC | #1
On 2012?07?16? 16:55, Richard Zhao wrote:
> Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
> ---
>  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) <paulliu@debian.org>
Samuel Ortiz July 17, 2012, 9:18 a.m. UTC | #2
Hi Richard,

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

Cheers,
Samuel.
diff mbox

Patch

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;
 }