]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66d19e224013ad5879274631eab81ca7b3b8533e
tree45e9d85b836404fa5c3d59ca2eac0360454ed02e
parent4f55da9890badb46fd3213c566c2b2a2346062cf
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