[PATCH v1 0/2] thermal: hwmon: Rework of automatic hwmon device registration
From: Rafael J. Wysocki
Date: Wed Apr 22 2026 - 15:14:36 EST
Hi All,
The first patch in the series reworks the automatic registration of hwmon
devices for thermal zones so that one hwmon device is registered for each of
them. This is done to address a thermal zone removal deadlock related to the
sharing of a hwmon device with other thermal zones of the same type (see the
changelog of patch [1/2] for details).
The second patch simplifies the thermal hwmon code further by using the
canonical mechanism for registering extra sysfs attributes of hwmon devices
instead of manually adding files to sysfs.
Since this is a quite noticeable change of behavior, the patches are targeted
at 7.2.
Thanks!