]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7fe6e6db1aeb747a5bf4f7b4eab08a62ec8e40d1
tree843072153d3a5bd4b8971f59d66a785ff46c039e
parentc2e9f810f12bba8ae06d0f2866f09796ba1c89eb
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