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

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

thermal: mtk_thermal: Check return value of devm_thermal_zone_of_sensor_register



devm_thermal_zone_of_sensor_register can fail, so check it's return value.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Reviewed-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent b7cf0053
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment