diff options
| author | Massinissa Ghoul <massigh680@gmail.com> | 2026-09-07 00:35:02 +0200 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-10-18 09:35:07 -0700 |
| commit | 0eff7c35479b359bdd6fb4ddb97c4b3b96606262 (patch) | |
| tree | 97a62f02c5598844ad32ff940ec36a7593820382 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 2f312a9d6dab5fafdf5ba3d86d178a2b5734e0fe (diff) | |
| download | linux-0eff7c35479b359bdd6fb4ddb97c4b3b96606262.tar.gz linux-0eff7c35479b359bdd6fb4ddb97c4b3b96606262.zip | |
hwmon: (hih6130) Replace sprintf() with sysfs_emit()
Use sysfs_emit() instead of sprintf() in the sysfs show functions
hih6130_temperature_show() and hih6130_humidity_show() to use the
preferred kernel interface for writing to sysfs buffers.
No functional change intended.
Note: Not runtime tested due to lack of hardware.
Signed-off-by: Massinissa Ghoul <massigh680@gmail.com>
Link: https://patch.msgid.link/20260907-hwmon-hih6130-sysfs-emit-v1-1-a1adb5245d0f@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
