commit | a815ab8b5891f3d2515316655729272f68269e3b | [log] [tgz] |
---|---|---|
author | Li Zefan <lizf@cn.fujitsu.com> | Fri Apr 18 13:27:29 2008 -0700 |
committer | Len Brown <len.brown@intel.com> | Tue Apr 29 10:10:03 2008 -0400 |
tree | 3554f9425dcd3bcb29e1ec279a44f1fff8e84c27 | |
parent | 2a241d77cfdab08544a78057a4b24c9a98dc79d0 [diff] |
ACPI: check a return value correctly in acpi_power_get_context() We should check *resource != NULL rather than resource != NULL, which will be always true. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Len Brown <len.brown@intel.com>