diff options
| author | Tabrez Ahmed <tabreztalks@gmail.com> | 2026-03-07 14:08:15 +0530 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-03-30 19:45:06 -0700 |
| commit | 4cd4489493531fce9046a135c6b99ce1abdb9053 (patch) | |
| tree | ce629fb38a17d7b281f69d3a0732d0b95f1a81a6 /tools/lib/python/kdoc/python_version.py | |
| parent | 9828c651c62525e20afb73d35cd89869e561145a (diff) | |
hwmon: (ads7871) Replace sprintf() with sysfs_emit()
Use sysfs_emit() instead of sprintf() in the sysfs show function
voltage_show() to comply with the preferred kernel interface for
writing to sysfs buffers, which ensures PAGE_SIZE buffer limits
are respected.
No functional change intended.
Note: Not runtime tested due to lack of hardware.
Signed-off-by: Tabrez Ahmed <tabreztalks@gmail.com>
Link: https://lore.kernel.org/r/20260307083815.12095-1-tabreztalks@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
