clk: Improve a size determination in two functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 20 Apr 2017 07:30:52 +0000 (09:30 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 22 Apr 2017 02:47:02 +0000 (19:47 -0700)
commit1808a3201965c430b70cb9236ff80d2cad403452
tree45e9d85b836404fa5c3d59ca2eac0360454ed02e
parent4d32758671527761e6ee94568b8e32925c4bc682
clk: Improve a size determination in two functions

Replace the specification of two 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>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c