ACPI: Let the parser return false for disabled resources
authorThomas Gleixner <tglx@linutronix.de>
Mon, 2 Feb 2015 02:42:50 +0000 (10:42 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Feb 2015 21:27:18 +0000 (22:27 +0100)
commite814f6deee6188265b5af9f1190e5734f116860e
tree6394ece5bd4e3452050808fa14b840ff451ed850
parent1d0420f1cfc4763a8c5bfc617e0a40f710c2f74d
ACPI: Let the parser return false for disabled resources

If the parser disables a resource during parsing, let it return false,
so the calling code does not need to implement further checks.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/resource.c