ARM: pxa: fix static checker warning in pxa3xx-ulpi
authorIgor Grinberg <grinberg@compulab.co.il>
Tue, 26 Dec 2017 12:33:51 +0000 (14:33 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 7 Mar 2018 13:19:47 +0000 (14:19 +0100)
commit6d07f1911e545e77bd57b30590742ad9517ab323
tree903e404c5850154f143d32909f200d11b231a50f
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
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>
arch/arm/mach-pxa/pxa3xx-ulpi.c