xen/arm: acpi: Rework acpi_boot_table_init error paths
authorJulien Grall <julien.grall@arm.com>
Fri, 3 Feb 2017 19:18:48 +0000 (19:18 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 16 Feb 2017 01:39:05 +0000 (17:39 -0800)
commit89bca190824e223316bb5a6dc3024bc9aaf02ce1
tree7f742ec0f5a614859e39571d322ebe8935a025d4
parent1756ab608379744de6901632a8b494681173c045
xen/arm: acpi: Rework acpi_boot_table_init error paths

There are multiple path disable ACPI on error. Consolidate in a single
place, this will help in a follow-up patch to add more code on the error
path.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/acpi/boot.c