diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-08-01 19:56:35 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-08-02 17:03:43 +0300 |
commit | ade7956396d0e821097393bc4fe5773525f2634c (patch) | |
tree | 770d58a907fda09354eaf6e1980a69bcf3a55fc0 /samples/bpf/xdp2_kern.c | |
parent | 0980bb1ff0f0ef0a3fb08f7596167eda2c932b45 (diff) | |
download | linux-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 'samples/bpf/xdp2_kern.c')
0 files changed, 0 insertions, 0 deletions