diff options
author | ye xingchen <ye.xingchen@zte.com.cn> | 2023-01-17 05:40:26 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-02-09 22:39:48 +0300 |
commit | 5bbafd436266136a67224b98e6ad864c4ddd762d (patch) | |
tree | 5cb50fd506a168c2cba92ceb3d8138477121324c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9e0a9be24bdd61a160631227ee995b579be566a5 (diff) | |
download | linux-5bbafd436266136a67224b98e6ad864c4ddd762d.tar.xz |
thermal: core: Use sysfs_emit_at() instead of scnprintf()
Follow the advice in Documentation/filesystems/sysfs.rst that show()
should only use sysfs_emit() or sysfs_emit_at() when formatting the
value to be returned to user space.
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions