]> 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)
commit22ea1e611bc426a821a4c676ad51d85dce7aeb50
tree6917595792d28a46b6e227699ce4b3ea192349d0
parent64230ab3a228c75fc24508706b2c146720f70c7d
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.1845695-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sigmadsp.c