]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sigmadsp: switch to use kmemdup_nul() helper
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 25 Aug 2022 12:35:25 +0000 (20:35 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 25 Aug 2022 13:17:33 +0000 (14:17 +0100)
commita5f7b5143ae4803207de06f05597e2714574e8b5
tree6917595792d28a46b6e227699ce4b3ea192349d0
parent898573d3396f05c43a523439c57117f1dc3597f3
ASoC: sigmadsp: switch to use kmemdup_nul() helper

Use kmemdup_nul() helper instead of open-coding to
simplify the code.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220825123525.21702e6-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sigmadsp.c