From: Axel Lin Date: Tue, 12 Mar 2013 15:42:20 +0000 (+0000) Subject: thermal: db8500: Fix checking return value of thermal_zone_device_register X-Git-Tag: v3.10-rc1~42^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f534e9bf8074ca8c258a1ce0e5224372298976f9;p=pandora-kernel.git thermal: db8500: Fix checking return value of thermal_zone_device_register thermal_zone_device_register() returns ERR_PTR on error, thus use IS_ERR rather than IS_ERR_OR_NULL to check return value. Signed-off-by: Axel Lin Signed-off-by: Zhang Rui --- Reading git-diff-tree failed