aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2012-03-21 12:55:04 -0700
committerLen Brown <[email protected]>2012-03-22 01:07:22 -0400
commit03ee62f0b9919535a1be02f72fe8153255a7fda0 (patch)
tree7c643687a8901ed38fca4f2a6ef046abcd3aa3da /lib/cpu-notifier-error-inject.c
parentde716e32e61fae5d1f0d000008d3f641cec5c9dd (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 <[email protected]> Reviewed-by: Viresh Kumar <[email protected]> Reviewed-by: Vincenzo Frascino <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions