ASoC: Intel: avs: Use devm_kstrdup_const
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Wed, 3 Apr 2024 09:31:37 +0000 (11:31 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 3 Apr 2024 10:05:12 +0000 (11:05 +0100)
commit68a71af3aee2b776a0030e1393864c9501997cbb
tree45325b6a55d720adbf51b2077ef3ee715fed4e41
parent27aa58180473f81990f35238dc8aec40d34c778d
ASoC: Intel: avs: Use devm_kstrdup_const

FW name is constant and we just duplicate it, use const variant of
devm_kstrdup to possibly save a bit of memory.

Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://msgid.link/r/20240403093145.3375857-3-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/avs.h
sound/soc/intel/avs/utils.c