commit | 8e5e7ddd38b69ef48a2104cd663fab0e3dd03e14 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Fri Jun 07 10:23:16 2019 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Jun 23 18:33:01 2019 -0700 |
tree | 88370763217f890960ef63c3c730a9212053706d | |
parent | 792eac1843196708e6f72e73b8f50e273721757e [diff] |
hwmon: (max6650) Use devm function to register thermal device Use devm_thermal_of_cooling_device_register to register the thermal cooling device. This lets us drop the remove function. At the same time, use 'dev' variable in probe function consistently. Cc: Jean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>