diff options
author | chen zhang <chenzhang@kylinos.cn> | 2024-10-28 10:49:49 +0800 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-10-29 15:54:41 +0200 |
commit | f60933390852beb1fbbcad12df5e261cf8312a9b (patch) | |
tree | c54d954fc987e5192ce99d1505d8c82b0f0a20ff /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e001341a984e709e377b275123aecb5a763eaef9 (diff) |
platform/x86: compal-laptop: use sysfs_emit() instead of sprintf()
Follow the advice in Documentation/filesystems/sysfs.rst:
show() should only use sysfs_emit() or sysfs_emit_at() when formatting
the value to be returned to user space.
Signed-off-by: chen zhang <chenzhang@kylinos.cn>
Link: https://lore.kernel.org/r/20241028024949.24746-1-chenzhang@kylinos.cn
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions