diff options
author | Szilard Fabian <szfabian@bluemarch.art> | 2024-04-28 22:26:33 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-04-29 14:35:53 +0300 |
commit | b35814a3c61f4156aff4d7cf16af097f44c00d79 (patch) | |
tree | 05c8fe8470c6639ed7c01d6f0bbd0318c418ffb8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5cfac5abb6e23d15669d0621d991d141f4f9b7d4 (diff) | |
download | linux-b35814a3c61f4156aff4d7cf16af097f44c00d79.tar.xz |
platform/x86/fujitsu-laptop: Replace sprintf() with sysfs_emit()
As suggested by Documentation/filesystems/sysfs.rst sysfs_emit() should be
used when formatting the value to be returned to user space.
Signed-off-by: Szilard Fabian <szfabian@bluemarch.art>
Link: https://lore.kernel.org/r/20240428192548.113261-1-szfabian@bluemarch.art
Acked-by: Jonathan Woithe <jwoithe@just42.net>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions