aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2022-08-01 18:56:34 +0200
committerTakashi Iwai <[email protected]>2022-08-02 16:03:42 +0200
commit0980bb1ff0f0ef0a3fb08f7596167eda2c932b45 (patch)
tree0de67313a528c12eb5606fbb7c96a6a182911f2d /lib/mpi/mpi-sub-ui.c
parent7450320ec7ab11e89e3f9b8f2c1229f3964181c1 (diff)
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/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions