]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb01564a6d46234904b4e01fb743232af1fc23ada
treee883e0e967e2e4982540bf08c28db5e3c0954a59
parent44b9117465c655ad3277947e6f2d419bcab88579
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