diff options
author | 2024-10-23 09:29:05 +0800 | |
---|---|---|
committer | 2024-10-25 17:31:50 +0300 | |
commit | a7d30cb75b0b3b243f57fd8dab4992a6a40f917e (patch) | |
tree | 893b6f5ffdcf83bbd871fb71f05a5eb57c03f9a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/x86/amd/hsmp: Make hsmp_pdev static instead of global (diff) | |
download | linux-rng-a7d30cb75b0b3b243f57fd8dab4992a6a40f917e.tar.xz linux-rng-a7d30cb75b0b3b243f57fd8dab4992a6a40f917e.zip |
platform/x86: eeepc-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/20241023012905.15551-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-postgresql.py')
0 files changed, 0 insertions, 0 deletions