diff options
author | Bo Liu <liubo03@inspur.com> | 2023-01-29 12:23:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-31 15:02:46 +0300 |
commit | cc3db79bb1389b3e95e84a4ef73d85f2a1cb8fe0 (patch) | |
tree | b5765142a0f67ede9914a7fc5ad4935a08b9c71f /kernel/uid16.c | |
parent | dd08ebe761328de4f894a4909e01e145bc68ef4c (diff) | |
download | linux-cc3db79bb1389b3e95e84a4ef73d85f2a1cb8fe0.tar.xz |
misc: isl29003: Use sysfs_emit() to instead of sprintf()
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: Bo Liu <liubo03@inspur.com>
Link: https://lore.kernel.org/r/20230129092357.3143-1-liubo03@inspur.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/uid16.c')
0 files changed, 0 insertions, 0 deletions