diff options
author | Li Zetao <lizetao1@huawei.com> | 2023-08-10 14:48:58 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-10 17:44:43 +0300 |
commit | 55975401fdf86ffe4736a557ae9d6f3d81ee5ba6 (patch) | |
tree | 9c3714382f536c570ce9e3f7a96a11b5351c5aa0 /scripts/gdb/linux/utils.py | |
parent | 252b9116aff4d04176adc931cd11f02169df54f1 (diff) | |
download | linux-55975401fdf86ffe4736a557ae9d6f3d81ee5ba6.tar.xz |
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 <lizetao1@huawei.com>
Link: https://lore.kernel.org/r/20230810114858.2103928-1-lizetao1@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions