diff options
| author | Khaled Elnaggar <[email protected]> | 2025-07-12 13:14:46 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2025-07-20 23:38:34 +0000 |
| commit | d1eb9fe14e73dc2ca47fd3c2f9f3c8753e33b774 (patch) | |
| tree | db5329bbb761d511ea2d8544825b56383fca6326 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | hwmon: (ltc4282) convert from round_rate() to determine_rate() (diff) | |
| download | kernel-d1eb9fe14e73dc2ca47fd3c2f9f3c8753e33b774.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
