diff options
author | Thierry Reding <treding@nvidia.com> | 2017-07-24 17:55:06 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-08-14 16:01:13 +0300 |
commit | 9b88226924cf640059aacba7af23d048c6ec03b1 (patch) | |
tree | 1473228deb38ebf4711e3655230a024b8912c0be /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 20133bd5ebbb58cdf224c769dea2a475c746bc1a (diff) | |
download | linux-9b88226924cf640059aacba7af23d048c6ec03b1.tar.xz |
gpio: tegra: Prefer kcalloc() over kzalloc() with multiplies
Rather than manually compute the size of an array, pass the number and
element size to kcalloc().
Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions