Commit c96f195d authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

ACPI: scan: Rename label in acpi_scan_init()

Rename the "out" label in acpi_scan_init() to "unlock", which is
a better match for its purpose, and fix up its alignment.

No functional impact.
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 681e7187
...@@ -2585,11 +2585,11 @@ void __init acpi_scan_init(void) ...@@ -2585,11 +2585,11 @@ void __init acpi_scan_init(void)
* Enumerate devices in the ACPI namespace. * Enumerate devices in the ACPI namespace.
*/ */
if (acpi_bus_scan(ACPI_ROOT_OBJECT)) if (acpi_bus_scan(ACPI_ROOT_OBJECT))
goto out; goto unlock;
acpi_root = acpi_fetch_acpi_dev(ACPI_ROOT_OBJECT); acpi_root = acpi_fetch_acpi_dev(ACPI_ROOT_OBJECT);
if (!acpi_root) if (!acpi_root)
goto out; goto unlock;
/* Fixed feature devices do not exist on HW-reduced platform */ /* Fixed feature devices do not exist on HW-reduced platform */
if (!acpi_gbl_reduced_hardware) if (!acpi_gbl_reduced_hardware)
...@@ -2599,7 +2599,7 @@ void __init acpi_scan_init(void) ...@@ -2599,7 +2599,7 @@ void __init acpi_scan_init(void)
acpi_scan_initialized = true; acpi_scan_initialized = true;
out: unlock:
mutex_unlock(&acpi_scan_lock); mutex_unlock(&acpi_scan_lock);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment