clk: ux500: Improve sizeof() usage
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 27 Sep 2017 18:30:53 +0000 (20:30 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 14 Nov 2017 01:42:25 +0000 (17:42 -0800)
commit0b10adbae303ecdb78c779eabb7ab587c91d324c
treec8b4ab1370fa0133e9470e0bef772253a1ec04b4
parent7a294dc6c85d6cea181055c5412bb44a499e3816
clk: ux500: 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>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/ux500/clk-prcc.c
drivers/clk/ux500/clk-prcmu.c
drivers/clk/ux500/clk-sysctrl.c