thermal: use ERR_PTR for returning error
authorThomas Sujith <sujith.thomas@intel.com>
Fri, 15 Feb 2008 05:59:50 +0000 (00:59 -0500)
committerLen Brown <len.brown@intel.com>
Fri, 15 Feb 2008 23:21:30 +0000 (18:21 -0500)
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>

No differences found