aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
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
parenthwmon: (ltc4282) convert from round_rate() to determine_rate() (diff)
downloadwireguard-linux-d1eb9fe14e73dc2ca47fd3c2f9f3c8753e33b774.tar.xz
wireguard-linux-d1eb9fe14e73dc2ca47fd3c2f9f3c8753e33b774.zip
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')
0 files changed, 0 insertions, 0 deletions