diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-08-01 18:56:35 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-08-02 16:03:43 +0200 |
commit | ade7956396d0e821097393bc4fe5773525f2634c (patch) | |
tree | 770d58a907fda09354eaf6e1980a69bcf3a55fc0 /sound/soc/tegra | |
parent | 0980bb1ff0f0ef0a3fb08f7596167eda2c932b45 (diff) |
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 'sound/soc/tegra')
0 files changed, 0 insertions, 0 deletions