+2
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
After commit 7f8f97c3 (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>