thermal: ti-soc-thermal: Fix reversed condition in ti_thermal_expose_sensor()
commit 0f348db0 upstream. This condition is reversed and will cause breakage. Fixes: 7440f518 ("thermal/drivers/ti-soc-thermal: Avoid dereferencing ERR_PTR") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20200616091949.GA11940@mwanda Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Please register or sign in to comment