From: Thomas Sujith Date: Fri, 15 Feb 2008 23:26:54 +0000 (-0500) Subject: ACPI thermal: extract return values using PTR_ERR X-Git-Tag: v2.6.25-rc3~95^2^6~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d76628c67cdeebf84766a19c67c821c2e518baa4;p=pandora-kernel.git ACPI thermal: 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