mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
thermal: use ERR_PTR for returning error
Need to return using ERR_PTR instead of NULL in case of errors. Signed-off-by: Thomas Sujith <sujith.thomas@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
c751670902
commit
3e6fda5c11
1 changed files with 13 additions and 13 deletions
Loading…
Add table
Add a link
Reference in a new issue