diff options
author | Li Zetao <[email protected]> | 2023-08-10 19:47:37 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-08-14 19:44:38 +0100 |
commit | b0a4c7f5921d9c2998bdd767a93d995786d72adc (patch) | |
tree | 08919aaa77790da3a492cb9fa821c94a66439243 /drivers/fpga/fpga-bridge.c | |
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 <[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