summaryrefslogtreecommitdiffstats
path: root/drivers/sn/ioc3.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-03-21 20:55:04 +0100
committerLen Brown <len.brown@intel.com>2012-03-22 06:07:22 +0100
commit03ee62f0b9919535a1be02f72fe8153255a7fda0 (patch)
tree7c643687a8901ed38fca4f2a6ef046abcd3aa3da /drivers/sn/ioc3.c
parentthermal/spear_thermal: replace readl/writel with lighter _relaxed variants (diff)
downloadlinux-03ee62f0b9919535a1be02f72fe8153255a7fda0.tar.xz
linux-03ee62f0b9919535a1be02f72fe8153255a7fda0.zip
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>
Diffstat (limited to 'drivers/sn/ioc3.c')
0 files changed, 0 insertions, 0 deletions