vme: ca91cx42: Improve 12 size determinations
commit3d9b1e53343651e514644f2a6d4ce00b362f4033
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 25 Aug 2017 08:56:41 +0000 (25 10:56 +0200)
committerMartyn Welch <martyn.welch@collabora.co.uk>
Fri, 13 Oct 2017 20:32:03 +0000 (13 21:32 +0100)
treedaf758cdcada0107d15be11aa4eda8e17f9df4bf
parent85fd4939e53873839df8e78da917c79c5074b183
vme: ca91cx42: Improve 12 size determinations

Replace the specification of data structures by variable references
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: Martyn Welch <martyn@welchs.me.uk>
drivers/vme/bridges/vme_ca91cx42.c