From: Hanjun Guo Date: Thu, 5 Dec 2013 15:42:38 +0000 (+0800) Subject: ACPI / table: Replace '1' with specific error return values X-Git-Tag: v3.14-rc1~107^2~12^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95df812dbdc350bfcf31e247e9100c378a472480;p=pandora-kernel.git 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 [rjw: Subject and changelog] Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed