diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-07-07 23:37:31 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-07-14 21:46:02 +0300 |
commit | e49c8ed8e0ec29d3ae8cb6342cad147d9738bfbe (patch) | |
tree | 9589310803facfced33d2fc876894a955143ded3 /drivers/thermal/imx_thermal.c | |
parent | 12ad93ab6eeb0c30dbcb5df7f72415a092f6f191 (diff) | |
download | linux-e49c8ed8e0ec29d3ae8cb6342cad147d9738bfbe.tar.xz |
thermal/drivers/int340x: Do not check the thermal zone state
The driver is accessing the thermal zone state to ensure the state is
different from the one we want to set.
We don't want the driver to access the thermal zone device internals.
Actually, the thermal core code already checks if the thermal zone's
state is different before calling this function, thus this check is
duplicate.
Remove it.
Acked-by: srinivas pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/thermal/imx_thermal.c')
0 files changed, 0 insertions, 0 deletions