diff options
| author | Li Zetao <[email protected]> | 2023-08-10 11:48:58 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-08-10 14:44:43 +0000 |
| commit | 55975401fdf86ffe4736a557ae9d6f3d81ee5ba6 (patch) | |
| tree | 9c3714382f536c570ce9e3f7a96a11b5351c5aa0 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
| parent | regulator: tps6286x-regulator: Remove redundant of_match_ptr() macros (diff) | |
| download | kernel-55975401fdf86ffe4736a557ae9d6f3d81ee5ba6.tar.gz kernel-55975401fdf86ffe4736a557ae9d6f3d81ee5ba6.zip | |
regulator: qcom_rpm-regulator: 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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions
