thermal: use ERR_PTR for returning error
Need to return using ERR_PTR instead of NULL in case of errors. Signed-off-by: NThomas Sujith <sujith.thomas@intel.com> Signed-off-by: NLen Brown <len.brown@intel.com>
Showing
想要评论请 注册 或 登录
Need to return using ERR_PTR instead of NULL in case of errors. Signed-off-by: NThomas Sujith <sujith.thomas@intel.com> Signed-off-by: NLen Brown <len.brown@intel.com>