diff options
author | Li Zetao <[email protected]> | 2023-08-10 19:47:38 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-08-14 19:44:39 +0100 |
commit | 29681184da28babc990a66e197d27ab98f2027af (patch) | |
tree | d5314a9d9cfe132b4e525f56838f0d628aae2837 /drivers/fpga/fpga-bridge.c | |
parent | b0a4c7f5921d9c2998bdd767a93d995786d72adc (diff) |
ASoC: SOF: ipc3: 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]>
Reviewed-by: Luca Ceresoli <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions