diff options
author | 2023-01-17 10:40:26 +0800 | |
---|---|---|
committer | 2023-02-09 20:39:48 +0100 | |
commit | 5bbafd436266136a67224b98e6ad864c4ddd762d (patch) | |
tree | 5cb50fd506a168c2cba92ceb3d8138477121324c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | thermal: Fail object registration if thermal class is not registered (diff) | |
download | wireguard-linux-5bbafd436266136a67224b98e6ad864c4ddd762d.tar.xz wireguard-linux-5bbafd436266136a67224b98e6ad864c4ddd762d.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions