From: Devendra Naga Date: Mon, 4 Mar 2013 16:52:47 +0000 (+0000) Subject: thermal: rcar_thermal: propagate return value of thermal_zone_device_register X-Git-Tag: v3.9-rc4~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb84d9907f0ff0e3f7d70d55039ddf0f78d2a472;p=pandora-kernel.git thermal: rcar_thermal: propagate return value of thermal_zone_device_register thermal_zone_device_register returns a value contained in the pointer itself use PTR_ERR to obtain the address and return it at the end. Signed-off-by: Devendra Naga Signed-off-by: Zhang Rui --- Reading git-diff-tree failed