Skip to content
Commit 3c375cf4 authored by Dan Carpenter's avatar Dan Carpenter Committed by bgman111111
Browse files

thermal: ti-soc-thermal: Fix reversed condition in ti_thermal_expose_sensor()



[ Upstream commit 0f348db01fdf128813fdd659fcc339038fb421a4 ]

This condition is reversed and will cause breakage.

Fixes: 7440f518dad9 ("thermal/drivers/ti-soc-thermal: Avoid dereferencing ERR_PTR")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200616091949.GA11940@mwanda


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2814f4ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment