]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa3b4edcc2451c9ff9c1ad4f7322c3a221e92386
tree903e404c5850154f143d32909f200d11b231a50f
parentbcac507057f6668c45308343ba41f4c91a086136
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