]> 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)
commit804c198f210eef15298dc722107485f6acefcb0b
tree843072153d3a5bd4b8971f59d66a785ff46c039e
parentf907ff320f7b12d2a34e345923bbcf58dcd962e5
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