diff options
author | Daniel Lezcano <daniel.lezcano@linexp.org> | 2022-08-05 00:43:22 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-08-17 14:09:37 +0200 |
commit | 44b5554d98d422a4411341d9aed5352c2ce34fc1 (patch) | |
tree | 52ccf2d69d89a6d8bb830e0bf4ad73986fdd7237 /drivers/thermal/tegra/soctherm.c | |
parent | 2ff66cba5beb9302f5787fd34617c5f64ad98309 (diff) |
thermal/drivers/mmio: Switch to new of API
The thermal OF code has a new API allowing to migrate the OF
initialization to a simpler approach. The ops are no longer device
tree specific and are the generic ones provided by the core code.
Convert the ops to the thermal_zone_device_ops format and use the new
API to register the thermal zone with these generic ops.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linexp.org>
Reviewed-by: Talel Shenhar <talel@amazon.com>
Link: https://lore.kernel.org/r/20220804224349.1926752-7-daniel.lezcano@linexp.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/thermal/tegra/soctherm.c')
0 files changed, 0 insertions, 0 deletions