video: smscufx: Improve a size determination in two functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 29 Dec 2017 18:48:44 +0000 (19:48 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 29 Dec 2017 18:48:44 +0000 (19:48 +0100)
commitdefddeff61041dbe2d5bd5469ee48912a89b4118
tree2c81b8209e0049734a1ef4e9a6e99fa894f009fd
parent11ab5a640cc2e4432500c28d62c48f3377a75cad
video: smscufx: Improve a size determination in two functions

Replace the specification of data structures by pointer dereferences
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>
Cc: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/smscufx.c