diff options
author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2020-03-10 20:00:28 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-03-20 14:17:48 +0300 |
commit | 57ed737f1646579bf77070109c18ea78db690d18 (patch) | |
tree | 75be1c3b492bafab77c9c8bee6e65203ddd45bae /security | |
parent | 7617e771c16611b422c43b3b154dce2b3ee152d5 (diff) | |
download | linux-57ed737f1646579bf77070109c18ea78db690d18.tar.xz |
thermal: rcar_thermal: Do not store ctemp in rcar_thermal_priv
There is no need to cache the ctemp value in the private data structure
as it's always prefetched before it's used. Remove it from the structure
and have rcar_thermal_update_temp return the value instead of storing
it.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200310170029.1648996-3-niklas.soderlund+renesas@ragnatech.se
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions