ARM: pxa: Improve a size determination in pxa3xx_u2d_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 3 Jun 2017 19:43:11 +0000 (21:43 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 14 Jun 2017 06:32:21 +0000 (08:32 +0200)
commit361f7cc7f33607489bea815f9148e8e9a13ea673
treee883e0e967e2e4982540bf08c28db5e3c0954a59
parentc276557de3087ef67ad1aec4222f9f8b1d005f80
ARM: pxa: Improve a size determination in pxa3xx_u2d_probe()

Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/mach-pxa/pxa3xx-ulpi.c