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>
Loading
Please sign in to comment