Skip to content
Commit 3e6fda5c authored by Thomas Sujith's avatar Thomas Sujith Committed by Len Brown
Browse files

thermal: use ERR_PTR for returning error



Need to return using ERR_PTR instead of NULL
in case of errors.

Signed-off-by: default avatarThomas Sujith <sujith.thomas@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent c7516709
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment