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

Skip to content
Commit fb84d990 authored by Devendra Naga's avatar Devendra Naga Committed by Zhang Rui
Browse files

thermal: rcar_thermal: propagate return value of thermal_zone_device_register



thermal_zone_device_register returns a value contained in the pointer itself
use PTR_ERR to obtain the address and return it at the end.

Signed-off-by: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent aa3b5d22
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