ASoC: sophgo: remove unneeded devm_kmemdup() for DAI driver

cv1800b_i2s_dai_template is never modified on a per-instance basis, so
there is no need to duplicate it before registering the component.

Pass the template directly to devm_snd_soc_register_component(), remove
the now-unused local dai pointer, and drop the template's const qualifier
to match the current ASoC API.

Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260803061605.35485-2-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
bui duc phuc 2026-08-03 13:16:05 +07:00 • committed by Mark Brown
commit 6d0451f9bf
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0