diff options
author | Florin Leotescu <florin.leotescu@nxp.com> | 2025-03-21 17:33:08 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2025-03-22 03:07:38 +0300 |
commit | 2115cbeec8a3ccc69e3b7ecdf97b4472b0829cfc (patch) | |
tree | c4677d83591e6f543ee77c32843006e71a54313f /lib/debugobjects.c | |
parent | 882bd6de1a5b4488dc0747d74420af34d419fd99 (diff) | |
download | linux-2115cbeec8a3ccc69e3b7ecdf97b4472b0829cfc.tar.xz |
hwmon: emc2305: Use devm_thermal_of_cooling_device_register
Prepare the emc2305 driver to use configuration from Device Tree nodes.
Switch to devm_thermal_of_cooling_device_register to simplify the
cleanup procedure, allowing the removal of emc2305_unset_tz and
emc2305_remove, which are no longer needed.
Signed-off-by: Florin Leotescu <florin.leotescu@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250321143308.4008623-4-florin.leotescu@oss.nxp.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions