ALSA: core: Replace scnprintf() with sysfs_emit()
authorTakashi Iwai <tiwai@suse.de>
Mon, 1 Aug 2022 16:56:36 +0000 (18:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 2 Aug 2022 14:03:45 +0000 (16:03 +0200)
commit0031812bd849cf90a4b1a0f194b776b7e3cd1f2b
tree843072153d3a5bd4b8971f59d66a785ff46c039e
parentade7956396d0e821097393bc4fe5773525f2634c
ALSA: core: Replace scnprintf() with sysfs_emit()

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

Link: https://lore.kernel.org/r/20220801165639.26030-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/init.c