diff options
author | 2024-04-17 17:20:55 +0800 | |
---|---|---|
committer | 2024-04-29 10:52:03 +0200 | |
commit | 95cd8806fbb9d3f7acf9eb206f98adbaedc3adb4 (patch) | |
tree | b892bbdf41a307dd5323cbf897aa3aa0b8ed307b /tools/perf/scripts/python/stackcollapse.py | |
parent | platform/x86/intel/pmc: Fix PCH names in comments (diff) | |
download | wireguard-linux-95cd8806fbb9d3f7acf9eb206f98adbaedc3adb4.tar.xz wireguard-linux-95cd8806fbb9d3f7acf9eb206f98adbaedc3adb4.zip |
platform/x86: thinkpad_acpi: change sprintf() to sysfs_emit()
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 <jiangyunshui@kylinos.cn>
Reviewed-by: Ai Chao <aichao@kylinos.cn>
Link: https://lore.kernel.org/r/20240417092055.1170586-1-jiangyunshui@kylinos.cn
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions