thermal: tsens8974: Fix NULL pointer dereference
Dereference the thermal device pointer only after checking
that it is valid.
Change-Id: I5619b14f2d37969e59a16a64b6011c1dba9b2e15
Signed-off-by:
Stepan Moskovchenko <stepanm@codeaurora.org>
Loading
Please sign in to comment