diff options
author | 2022-02-14 15:03:38 +0100 | |
---|---|---|
committer | 2022-02-24 14:50:40 +0100 | |
commit | 446925f1d4ca9ff8c9e531498ddca4f47683e1ee (patch) | |
tree | 02ce97d78abeac54d8551807f53b67327c122428 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pwm: pwm-mediatek: Simplify error handling with dev_err_probe() (diff) | |
download | wireguard-linux-446925f1d4ca9ff8c9e531498ddca4f47683e1ee.tar.xz wireguard-linux-446925f1d4ca9ff8c9e531498ddca4f47683e1ee.zip |
pwm: pwm-mediatek: Allocate clk_pwms with devm_kmalloc_array
Switch from devm_kcalloc to devm_kmalloc_array when allocating clk_pwms,
as this structure is being filled right after allocating it, hence
there is no need to zero it out beforehand.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions