diff options
author | Daniel Lezcano <daniel.lezcano@linexp.org> | 2022-08-05 01:43:36 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-08-17 15:09:38 +0300 |
commit | ab7e865db9a54abd775327f87f32f4d0e6e24109 (patch) | |
tree | 990c03c61a0cf49efd5d206519b3f587e4d5e496 /drivers/thermal/k3_j72xx_bandgap.c | |
parent | 3e7494b41c41959cd68a3f652e286c1fb7c626fc (diff) | |
download | linux-ab7e865db9a54abd775327f87f32f4d0e6e24109.tar.xz |
thermal/drivers/mtk: 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: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220804224349.1926752-21-daniel.lezcano@linexp.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/thermal/k3_j72xx_bandgap.c')
0 files changed, 0 insertions, 0 deletions