diff options
author | 2025-07-18 12:50:35 -0500 | |
---|---|---|
committer | 2025-07-21 16:31:28 +0200 | |
commit | bb76f0d843a26d11bed5df2793b492ca414de0a4 (patch) | |
tree | dccb051eb9adda4100a6dc6ece904d9ee566bf7f /tools/perf/scripts/python | |
parent | usb: usblp: clean up assignment inside if conditions (diff) | |
download | wireguard-linux-bb76f0d843a26d11bed5df2793b492ca414de0a4.tar.xz wireguard-linux-bb76f0d843a26d11bed5df2793b492ca414de0a4.zip |
usb: gadget: f_uac1: replace scnprintf() with sysfs_emit()
Documentation/filesystems/sysfs.rst mentions that show() should only
use sysfs_emit() or sysfs_emit_at() when formating the value to be
returned to user space. So replace scnprintf() with sysfs_emit().
Signed-off-by: Sumanth Gavini <sumanth.gavini@yahoo.com>
Link: https://lore.kernel.org/r/20250718175037.299710-1-sumanth.gavini@yahoo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions