From: Dan Carpenter Date: Wed, 21 Mar 2012 19:55:04 +0000 (-0700) Subject: thermal: spear13xx: checking for NULL instead of IS_ERR() X-Git-Tag: v3.4-rc1~18^2~3^9~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03ee62f0b9919535a1be02f72fe8153255a7fda0;p=pandora-kernel.git 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 Reviewed-by: Viresh Kumar Reviewed-by: Vincenzo Frascino Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed