summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2022-05-11 06:36:29 -0700
committerGuenter Roeck <linux@roeck-us.net>2022-05-22 11:32:31 -0700
commit87743bcf08072b3e1952a0bf5524b2833e667b4c (patch)
tree6043f56501932077ac49cc3a618941967b7d70a8 /drivers/hwmon
parente5d21072054fbadf41cd56062a3a14e447e8c22b (diff)
downloadlinux-87743bcf08072b3e1952a0bf5524b2833e667b4c.tar.bz2
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 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions