commit | 0f348db01fdf128813fdd659fcc339038fb421a4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Jun 16 12:19:49 2020 +0300 |
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | Tue Jul 21 15:13:17 2020 +0200 |
tree | b9b79634a7f00e2e73a25bdb7316b5e480230d72 | |
parent | 8bcd0178d37bdbb90cf8502518e9720ea51e2d51 [diff] |
thermal: ti-soc-thermal: Fix reversed condition in ti_thermal_expose_sensor() This condition is reversed and will cause breakage. Fixes: 7440f518dad9 ("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