HomeFreeBSD

asmc: deduplicate sensor converters and cause sysctls

Description

asmc: deduplicate sensor converters and cause sysctls

Replace per-type spXX_to_milli() functions with a table-driven
asmc_sensor_convert() that looks up the divisor by SMC type string.

Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D57854

Details

Provenance
seurosAuthored on Jul 1 2026, 12:15 AM
adrianCommitted on Jul 1 2026, 12:18 AM
Reviewer
adrian
Differential Revision
D57854: asmc: deduplicate sensor converters and cause sysctls
Parents
rG6a1bd5212f29: asmc: add system state and board identity sysctls
Branches
Unknown
Tags
Unknown