summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authoryunshui <jiangyunshui@kylinos.cn>2024-04-17 12:20:55 +0300
committerHans de Goede <hdegoede@redhat.com>2024-04-29 11:52:03 +0300
commit95cd8806fbb9d3f7acf9eb206f98adbaedc3adb4 (patch)
treeb892bbdf41a307dd5323cbf897aa3aa0b8ed307b /tools/perf/scripts/python/export-to-sqlite.py
parentf1f663ebfbec349118c41a5563aa266953200058 (diff)
downloadlinux-95cd8806fbb9d3f7acf9eb206f98adbaedc3adb4.tar.xz
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions