diff options
| author | 2026-07-11 17:33:21 +0800 | |
|---|---|---|
| committer | 2026-08-10 08:59:41 -0700 | |
| commit | d33baed3fea26756ef3b077347b8da0de3f492f1 (patch) | |
| tree | 64d617a9ecd221e569de4b648b6c7659df5fcedc /scripts/Makefile.thinlto | |
| parent | hwmon: (cros_ec) Synchronize EC access from the thermal device callbacks (diff) | |
hwmon: (applesmc) Cache fan positions during register initialization
To support the read_string callback for fan labels in the modern HWMON
API, load and cache the fan position names in smcreg.fan_positions
during register initialization.
Pre-pad fallback labels with four spaces to match the "+ 4" pointer
arithmetic offset used by all fan labels in the read_string callback.
Signed-off-by: Shih-Yuan Lee <fourdollars@debian.org>
Link: https://lore.kernel.org/r/20260711093323.14529-2-fourdollars@debian.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
