Home
last modified time | relevance | path

Searched hist:e5d21072054fbadf41cd56062a3a14e447e8c22b (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dhwmon.hdiff e5d21072054fbadf41cd56062a3a14e447e8c22b Wed May 11 15:29:59 CEST 2022 Guenter Roeck <linux@roeck-us.net> hwmon: Introduce hwmon_device_register_for_thermal

The thermal subsystem registers a hwmon driver without providing
chip or sysfs group information. This is for legacy reasons and
would be difficult to change. At the same time, we want to enforce
that chip information is provided when registering a hwmon device
using hwmon_device_register_with_info(). To enable this, introduce
a special API for use only by the thermal subsystem.

Acked-by: Rafael J . Wysocki <rafael@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
/linux/drivers/hwmon/
H A Dhwmon.cdiff e5d21072054fbadf41cd56062a3a14e447e8c22b Wed May 11 15:29:59 CEST 2022 Guenter Roeck <linux@roeck-us.net> hwmon: Introduce hwmon_device_register_for_thermal

The thermal subsystem registers a hwmon driver without providing
chip or sysfs group information. This is for legacy reasons and
would be difficult to change. At the same time, we want to enforce
that chip information is provided when registering a hwmon device
using hwmon_device_register_with_info(). To enable this, introduce
a special API for use only by the thermal subsystem.

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