diff options
author | Guenter Roeck <linux@roeck-us.net> | 2022-05-11 16:36:29 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-05-22 21:32:31 +0300 |
commit | 87743bcf08072b3e1952a0bf5524b2833e667b4c (patch) | |
tree | 6043f56501932077ac49cc3a618941967b7d70a8 /Documentation/hwmon/hwmon-kernel-api.rst | |
parent | e5d21072054fbadf41cd56062a3a14e447e8c22b (diff) | |
download | linux-87743bcf08072b3e1952a0bf5524b2833e667b4c.tar.xz |
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>
Diffstat (limited to 'Documentation/hwmon/hwmon-kernel-api.rst')
0 files changed, 0 insertions, 0 deletions