]> 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)
commite258829d4810c28032713734f5bff09e790ecff7
tree45e9d85b836404fa5c3d59ca2eac0360454ed02e
parent6e41d02e390715ee620646b3af0d16154cb9ead1
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