Use devm_kmemdup to replace devm_kmalloc + memcpy
authorMark Brown <broonie@kernel.org>
Tue, 15 Aug 2023 18:22:33 +0000 (19:22 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 15 Aug 2023 18:22:33 +0000 (19:22 +0100)
Merge series from Li Zetao <lizetao1@huawei.com>:

This patch set use the helper function devm_kmemdup() to replace
devm_kmalloc + memcpy, which is the same as implementing the function
separately.


Trivial merge