acrn-kernel/sound/aoa/soundbus
Takashi Iwai 0980bb1ff0 ALSA: aoa: 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 such sprintf()
calls with sysfs_emit() while simplifying the open code in
modalias_show(); as modalias[] is a NUL-terminated string, we can pass
it straightly to a printf() argument.

Link: https://lore.kernel.org/r/20220801165639.26030-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2022-08-02 16:03:42 +02:00
..
i2sbus ALSA: aoa: remove unnecessary oom message 2021-06-17 17:31:38 +02:00
Kconfig
Makefile
core.c bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
soundbus.h
sysfs.c ALSA: aoa: Replace sprintf() with sysfs_emit() 2022-08-02 16:03:42 +02:00