clk: clk-u300: Improve sizeof() usage
commit27f8a53a9decfd7ad785543eb4e2c3d44434c01e
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 26 Sep 2017 17:33:02 +0000 (26 19:33 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 14 Nov 2017 01:39:01 +0000 (13 17:39 -0800)
treec8b422d1323579612473ea537c1c4f8f58582d55
parentde8cd467e413906265eaa1f8af8d2da0f0d63c40
clk: clk-u300: Improve sizeof() usage

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.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-u300.c