Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 08f2a840 authored by David Collins's avatar David Collins
Browse files

thermal: qpnp-temp-alarm: correct thermal sensor registration check



Correct the error check for the thermal_zone_of_sensor_register()
call to check for IS_ERR() instead of NULL.

Change-Id: Ie021b4e7998aa970ce3a317cf9d6d9cc154ee4d0
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent af4ea937
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment