diff options
author | Xuezhi Zhang <zhangxuezhi1@coolpad.com> | 2022-10-14 13:06:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-22 13:21:23 +0200 |
commit | 27ef01e381c777521084724248c5736cd1cdda63 (patch) | |
tree | 6c8d5469f58d8f2348cbe455bc5c811e4f5b28f2 /drivers/usb/usbip/vhci.h | |
parent | usbip: vudc: Convert snprintf() to sysfs_emit() (diff) | |
download | linux-27ef01e381c777521084724248c5736cd1cdda63.tar.xz linux-27ef01e381c777521084724248c5736cd1cdda63.zip |
usbip: convert sysfs snprintf to sysfs_emit
Follow the advice of the Documentation/filesystems/sysfs.rst
and show() should only use sysfs_emit() or sysfs_emit_at()
when formatting the value to be returned to user space.
Signed-off-by: Xuezhi Zhang <zhangxuezhi1@coolpad.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20221014110606.599352-1-zhangxuezhi3@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip/vhci.h')
0 files changed, 0 insertions, 0 deletions