summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-08-01 19:56:35 +0300
committerTakashi Iwai <tiwai@suse.de>2022-08-02 17:03:43 +0300
commitade7956396d0e821097393bc4fe5773525f2634c (patch)
tree770d58a907fda09354eaf6e1980a69bcf3a55fc0 /block
parent0980bb1ff0f0ef0a3fb08f7596167eda2c932b45 (diff)
downloadlinux-ade7956396d0e821097393bc4fe5773525f2634c.tar.xz
ALSA: control-led: 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 list_show(). Link: https://lore.kernel.org/r/20220801165639.26030-4-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions