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

Skip to content
Commit f534e9bf authored by Axel Lin's avatar Axel Lin Committed by Zhang Rui
Browse files

thermal: db8500: Fix checking return value of thermal_zone_device_register



thermal_zone_device_register() returns ERR_PTR on error, thus use
IS_ERR rather than IS_ERR_OR_NULL to check return value.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent bde00663
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