Commit 37a9acb9 authored by Chelsy Ratnawat's avatar Chelsy Ratnawat Committed by Jiri Kosina
Browse files

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: default avatarChelsy Ratnawat <chelsyratnawat2001@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
parent d3db1ce9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment