summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorKhaled Elnaggar <khaledelnaggarlinux@gmail.com>2025-07-12 16:14:46 +0300
committerGuenter Roeck <linux@roeck-us.net>2025-07-20 16:38:34 -0700
commitd1eb9fe14e73dc2ca47fd3c2f9f3c8753e33b774 (patch)
treedb5329bbb761d511ea2d8544825b56383fca6326 /tools/perf/scripts/python/event_analyzing_sample.py
parent9f4401ad3740ecc7ea46ff8406b35cd29ddadd9b (diff)
hwmon: (max31827) use sysfs_emit() in temp1_resolution_show()
Replace scnprintf() with sysfs_emit() in temp1_resolution_show(), as recommended in Documentation/filesystems/sysfs.rst: show() callbacks should use sysfs_emit() or sysfs_emit_at() to format values returned to userspace. Signed-off-by: Khaled Elnaggar <khaledelnaggarlinux@gmail.com> Link: https://lore.kernel.org/r/20250712131447.326995-1-khaledelnaggarlinux@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions