commit | 96a7ed9079a3483c5681b17f4713c37c1cf2b1c9 | [log] [tgz] |
---|---|---|
author | Tomasz Figa <tomasz.figa@gmail.com> | Sun Sep 29 02:37:15 2013 +0200 |
committer | Mike Turquette <mturquette@linaro.org> | Tue Oct 01 18:40:16 2013 -0700 |
tree | 774e563607a79fc5214f628698eb607d8a11c37d | |
parent | f1c8b2edf916b5be9dc29e98989a5eaff3c6e75b [diff] |
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>