diff options
| author | Prathima <Prathima.Lk@amd.com> | 2026-07-10 16:46:36 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-17 15:50:48 +0200 |
| commit | 54a7848c24a5e786d25b209f61d3c86528bdce62 (patch) | |
| tree | 60057d81a6bf1fae5526fb272331527c42156a6c /tools/perf/scripts/python/stackcollapse.py | |
| parent | 319138ffcf83de6547651924030eb17c0d7977e5 (diff) | |
hwmon: sbtsi_temp: Refactor temperature register access into helpers
Extract the paired integer/decimal register reads and writes from the
hwmon read/write callbacks into sbtsi_temp_read() and sbtsi_temp_write()
helpers. This consolidates error handling and respects the ReadOrder bit
for atomic temperature latching.
This keeps register access independent while preserving existing hwmon
functionality.
Reviewed-by: Akshay Gupta <Akshay.Gupta@amd.com>
Signed-off-by: Prathima <Prathima.Lk@amd.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Link: https://patch.msgid.link/20260710111642.850022-3-Akshay.Gupta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
