]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a337a66794695237bd8c3ee719051b017379232
tree38af580a57b553a902db25ec1401d8005885981d
parent668d0db1ecd0548a82c3026e70382d601e641a30
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>
drivers/thermal/thermal.c