diff options
author | 2017-07-24 16:55:06 +0200 | |
---|---|---|
committer | 2017-08-14 15:01:13 +0200 | |
commit | 9b88226924cf640059aacba7af23d048c6ec03b1 (patch) | |
tree | 1473228deb38ebf4711e3655230a024b8912c0be /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: tegra: Remove unnecessary check (diff) | |
download | wireguard-linux-9b88226924cf640059aacba7af23d048c6ec03b1.tar.xz wireguard-linux-9b88226924cf640059aacba7af23d048c6ec03b1.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions