commit | 03ee62f0b9919535a1be02f72fe8153255a7fda0 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Mar 21 12:55:04 2012 -0700 |
committer | Len Brown <len.brown@intel.com> | Thu Mar 22 01:07:22 2012 -0400 |
tree | 7c643687a8901ed38fca4f2a6ef046abcd3aa3da | |
parent | de716e32e61fae5d1f0d000008d3f641cec5c9dd [diff] |
thermal: spear13xx: checking for NULL instead of IS_ERR() thermal_zone_device_register() never returns NULL, on error it returns and ERR_PTR(). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Viresh Kumar <viresh.kumar@st.com> Reviewed-by: Vincenzo Frascino <vincenzo.frascino@st.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Len Brown <len.brown@intel.com>