diff options
author | Chelsy Ratnawat <chelsyratnawat2001@gmail.com> | 2025-06-19 18:46:27 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2025-06-20 10:14:43 +0300 |
commit | 37a9acb971c2f338e7a1b602b0ee40ad70668e81 (patch) | |
tree | 305d1389c2d19c7f6ccbdcbab52b568df3236807 /scripts/lib/kdoc/kdoc_files.py | |
parent | d3db1ce9bf8f4a8e03d3bd19000b32290bca7d74 (diff) | |
download | linux-37a9acb971c2f338e7a1b602b0ee40ad70668e81.tar.xz |
HID: 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: Chelsy Ratnawat <chelsyratnawat2001@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions