diff options
author | yunshui <[email protected]> | 2024-04-22 14:29:15 +0800 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2024-04-29 10:52:03 +0200 |
commit | 5c94664cf2793e0d0534cb561f1549ed4bb841f1 (patch) | |
tree | 5457a7660c6bf115a09ca02ed64122ef65fabc30 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 51fb2ff76f96bacdb7c886a51f9e216f24dbf33a (diff) |
platform/x86: asus-laptop: Use sysfs_emit() and sysfs_emit_at() 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