From: Chen Gong Date: Mon, 14 Dec 2009 01:42:28 +0000 (+0800) Subject: acpi_pad: fix error checks X-Git-Tag: v2.6.33-rc5~9^2~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b8cb427e9281790f36e847e46cb1d005a50cec0;p=pandora-kernel.git acpi_pad: fix error checks There are some fixes listed below: 1. When met a bogus BIOS, the return value of cpu number maybe is a negative value so that acpi_pad_pur get an unexpected result. 2. the return value of function acpi_pad_idle_cpus is useless. 3. enhance the process of create_power_saving_task/destroy_power_saving_task 4. Add more error checks when evaluating _PUR object. 5. one typo fix Signed-off-by: Chen Gong Acked-by: Shaohua Li Signed-off-by: Len Brown --- Reading git-diff-tree failed