aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorJordy Ubink <[email protected]>2020-01-15 17:46:18 +0100
committerMark Brown <[email protected]>2020-01-17 15:42:01 +0000
commitfcce38d85cb865346da9b8f2d87c9427153dc5ca (patch)
tree367336ad11f59ea89e7a866c21734d9f732648b6 /lib/mpi/mpi-mul.c
parent296868315c692a1f63465a9ec27cdfa3a46ec840 (diff)
ASoC: Intel: bytcr_rt5651: Remove unnecessary string buffers and snprintf calls
The snprintf calls filling byt_rt56*_codec_aif_name/byt_rt56*_cpu_dai_name always fill them with the same string ("rt56*-aif2" resp. ssp0-port"). So instead of keeping these buffers around and making codecs->dai_name / cpus->dai_name point to them, simply update the *->dai_name pointers to directly point to a string constant containing the desired string. Signed-off-by: Jordy Ubink <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions