summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-si5351.c
diff options
context:
space:
mode:
authorTomasz Figa <tomasz.figa@gmail.com>2013-09-29 02:37:15 +0200
committerMike Turquette <mturquette@linaro.org>2013-10-02 03:40:16 +0200
commit96a7ed9079a3483c5681b17f4713c37c1cf2b1c9 (patch)
tree774e563607a79fc5214f628698eb607d8a11c37d /drivers/clk/clk-si5351.c
parentclk: Add error handling to clk_fetch_parent_index() (diff)
downloadlinux-96a7ed9079a3483c5681b17f4713c37c1cf2b1c9.tar.xz
linux-96a7ed9079a3483c5681b17f4713c37c1cf2b1c9.zip
clk: Use kcalloc() to allocate arrays
Instead of calculating sizes of arrays manually, kcalloc() can be used to allocate arrays of elements with defined size. This is just a cleanup patch without any functional changes. Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/clk-si5351.c')
0 files changed, 0 insertions, 0 deletions