summaryrefslogtreecommitdiff
path: root/Documentation/hwmon/hwmon-kernel-api.rst
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2022-05-11 16:36:29 +0300
committerGuenter Roeck <linux@roeck-us.net>2022-05-22 21:32:31 +0300
commit87743bcf08072b3e1952a0bf5524b2833e667b4c (patch)
tree6043f56501932077ac49cc3a618941967b7d70a8 /Documentation/hwmon/hwmon-kernel-api.rst
parente5d21072054fbadf41cd56062a3a14e447e8c22b (diff)
downloadlinux-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