]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba52aff27a984e1f8adfcf37caccdf48d8ba0949
treea588b376f6592ded09ba38acd185875c7b2408b0
parentb29536907ab2172fdbd272df505b9a60ed6ef2e5
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