]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320aic26: Replace sprintf() with sysfs_emit()
authorTakashi Iwai <tiwai@suse.de>
Mon, 1 Aug 2022 17:01:02 +0000 (19:01 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 15 Aug 2022 00:19:45 +0000 (01:19 +0100)
commit1218d67d376156aa8dc9dbc39616867823f60783
treeb29470287b0463070f020ee6f3f19e736e80ece3
parent32d3679cbb383478c7e9dff590f367f1d7dda975
ASoC: tlv320aic26: Replace sprintf() with sysfs_emit()

For sysfs outputs, it's safer to use a new helper, sysfs_emit(),
instead of the raw sprintf() & co.  This patch replaces the sprintf()
usage straightforwardly with a new helper, sysfs_emit().

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