ASoC: cs43130: Replace scnprintf() with sysfs_emit()
authorTakashi Iwai <tiwai@suse.de>
Mon, 1 Aug 2022 17:01:01 +0000 (19:01 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 15 Aug 2022 00:19:44 +0000 (01:19 +0100)
commit32d3679cbb383478c7e9dff590f367f1d7dda975
treea588b376f6592ded09ba38acd185875c7b2408b0
parent4d39265b930fb42eb396c3153a3f4afdee9f5c17
ASoC: cs43130: Replace scnprintf() with sysfs_emit()

sysfs_emit() is a new helper to simplify the sysfs string output.
Replace the open-code straightforwardly with this new helper.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20220801170108.26340-2-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs43130.c