HID: hid-logitech: use sysfs_emit_at() instead of scnprintf()
Follow the advice in Documentation/filesystems/sysfs.rst: show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. Signed-off-by:TangDongxing <tang.dongxing@zte.com.cn> Signed-off-by:
Jiri Kosina <jkosina@suse.com>
Loading
Please register or sign in to comment