diff options
author | Li Zetao <lizetao1@huawei.com> | 2023-08-10 19:47:37 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-14 19:44:38 +0100 |
commit | b0a4c7f5921d9c2998bdd767a93d995786d72adc (patch) | |
tree | 08919aaa77790da3a492cb9fa821c94a66439243 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 85cc1ee9505e0b458254a54ca053dabf650fd266 (diff) |
ASoC: tas5805m: Use devm_kmemdup to replace devm_kmalloc + memcpy
Use the helper function devm_kmemdup() rather than duplicating its
implementation, which helps to enhance code readability.
Signed-off-by: Li Zetao <lizetao1@huawei.com>
Link: https://lore.kernel.org/r/20230810114738.2103792-2-lizetao1@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions