Skip to content
Commit e5d21072 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

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: default avatarRafael J . Wysocki <rafael@kernel.org>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 59e746ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment