Commit da77bde0 authored by Stepan Moskovchenko's avatar Stepan Moskovchenko
Browse files

thermal: tsens8974: Fix NULL pointer dereference



Dereference the thermal device pointer only after checking
that it is valid.

Change-Id: I5619b14f2d37969e59a16a64b6011c1dba9b2e15
Signed-off-by: default avatarStepan Moskovchenko <stepanm@codeaurora.org>
parent c2f1c5a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment