From: Thomas Sujith Date: Fri, 15 Feb 2008 06:01:52 +0000 (-0500) Subject: ACPI fan: extract return values using PTR_ERR X-Git-Tag: v2.6.25-rc3~95^2^6~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19b36780ee7ddeb5080e3f1f858a83c4824f1fdc;p=pandora-kernel.git ACPI fan: extract return values using PTR_ERR Need to extract errors using PTR_ERR macro and process accordingly. thermal_cooling_device_register returning NULL means that CONFIG_THERMAL=n and in that case no need to create symbolic links. Signed-off-by: Thomas Sujith Signed-off-by: Len Brown --- Reading git-diff-tree failed