Hanjun Guo 95df812dbd ACPI / table: Replace '1' with specific error return values
After commit 7f8f97c3cc (ACPI: acpi_table_parse() now returns
success/fail, not count), acpi_table_parse() returns '1' when it is
unable to find the table, but it should return a negative error code
in that case.  Make it return -ENODEV instead.

Fix the same problem in acpi_table_init() analogously.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
[rjw: Subject and changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-12-07 01:31:59 +01:00
..
2013-09-30 19:46:13 +02:00
2013-11-16 15:45:13 +01:00
2013-10-28 01:12:41 +01:00
2013-10-28 01:11:24 +01:00
2013-04-28 01:54:08 +02:00
2013-11-07 19:31:15 +01:00
2013-11-16 15:45:00 +01:00
2013-12-07 01:27:56 +01:00
2013-10-12 00:19:44 +02:00
2013-01-17 14:11:06 +01:00