diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-04-19 22:08:54 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-04-22 05:49:34 +0300 |
commit | ee7d74339df71015ae5b98d91393ea80b72a4546 (patch) | |
tree | ef5b97cfbe4565b5a122a2c424b9ed9b28fab6cd /drivers/clk/ti/divider.c | |
parent | 23826e240ad82727635eb84fff1211dd2ff750fb (diff) | |
download | linux-ee7d74339df71015ae5b98d91393ea80b72a4546.tar.xz |
clk: mvebu: Use kcalloc() in two functions
* Multiplications for the size determination of memory allocations
indicated that array data structures should be processed.
Thus use the corresponding function "kcalloc".
This issue was detected by using the Coccinelle software.
* Replace the specification of data types by pointer dereferences
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>
Diffstat (limited to 'drivers/clk/ti/divider.c')
0 files changed, 0 insertions, 0 deletions