diff options
author | yunshui <[email protected]> | 2024-04-19 14:36:49 +0800 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2024-04-29 10:52:03 +0200 |
commit | 208ba5055691a8e93e3c1d222fe740c2bdc0e2f1 (patch) | |
tree | 3e50400062fe815f76a40f15edbbe0c08ecfecf3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 95cd8806fbb9d3f7acf9eb206f98adbaedc3adb4 (diff) |
platform/x86: msi-laptop: Use sysfs_emit() to replace sprintf()
As Documentation/filesystems/sysfs.rst suggested,
show() should only use sysfs_emit() or sysfs_emit_at() when formatting
the value to be returned to user space.
Signed-off-by: yunshui <[email protected]>
Reviewed-by: Ai Chao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions