thermal/drivers/rcar_gen3_thermal: Do not call set_trips() when resuming
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 8 Feb 2023 19:03:31 +0000 (20:03 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 15 Feb 2023 16:29:07 +0000 (17:29 +0100)
commit1c63f8cd018db726e6cddcbb5abd069fab0e9cea
treed74d2a5ac17e74b267cecd326bb0662b05012bf4
parent883d1552997bedcf6e8eca3c65aa2dc5b28d160f
thermal/drivers/rcar_gen3_thermal: Do not call set_trips() when resuming

There is no need to explicitly call set_trips() when resuming from
suspend. The thermal framework calls thermal_zone_device_update() that
restores the trip points.

Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/20230208190333.3159879-2-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/rcar_gen3_thermal.c