Skip to content

Fixes for thermal hwmon registration

Will McVicker linux-hwmon linux-pm lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hwmon: Introduce hwmon_device_register_for_thermaldrivers/hwmon/hwmon.c include/linux/hwmon.h+28 -04 replies
2/2thermal/drivers/thermal_hwmon: Use hwmon_device_register_for_thermal()drivers/thermal/thermal_hwmon.c+2 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRafael J . Wysocki
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 4.19 v1 0/2] Fixes for thermal hwmon registration

Hi All,

These two patches fix issues with thermal hwmon registration on 4.19. The upstream commit ddaefa209c4a ("hwmon: Make chip parameter for with_info API mandatory") forces the chip parameter to be mandatory which breaks thermal subsystem devices from probing. These fixes were pulled into 5.4, but missed from 4.19. I have verified them on Pixel 5 with the 4.19 kernel.

Thanks,
Will

Guenter Roeck (2):
hwmon: Introduce hwmon_device_register_for_thermal thermal/drivers/thermal_hwmon: Use hwmon_device_register_for_thermal()

 drivers/hwmon/hwmon.c           | 25 +++++++++++++++++++++++++
 drivers/thermal/thermal_hwmon.c |  4 ++--
 include/linux/hwmon.h           |  3 +++
 3 files changed, 30 insertions(+), 2 deletions(-)
Signature · 1 line
2.37.0.rc0.161.g10f37bed90-goog