Home
last modified time | relevance | path

Searched hist:"87743 bcf08072b3e1952a0bf5524b2833e667b4c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/thermal/
H A Dthermal_hwmon.cdiff 87743bcf08072b3e1952a0bf5524b2833e667b4c Wed May 11 08:36:29 CDT 2022 Guenter Roeck <linux@roeck-us.net> thermal/drivers/thermal_hwmon: Use hwmon_device_register_for_thermal()

The thermal subsystem registers a hwmon device without providing chip
information or sysfs attribute groups. While undesirable, it would be
difficult to change. On the other side, it abuses the
hwmon_device_register_with_info API by not providing that information.
Use new API specifically created for the thermal subsystem instead to
let us enforce the 'chip' parameter for other callers of
hwmon_device_register_with_info().

Acked-by: Rafael J . Wysocki <rafael@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>