mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
ARM: pxa: fix static checker warning in pxa3xx-ulpi
Static checker reports the following warning: arch/arm/mach-pxa/pxa3xx-ulpi.c:336 pxa3xx_u2d_probe() warn: did you mean to pass the address of 'u2d' Fix it by passing the correct pointer. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
This commit is contained in:
parent
7928b2cbe5
commit
6d07f1911e
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ static int pxa3xx_u2d_probe(struct platform_device *pdev)
|
|||
goto err_free_plat;
|
||||
}
|
||||
|
||||
platform_set_drvdata(pdev, &u2d);
|
||||
platform_set_drvdata(pdev, u2d);
|
||||
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue