Skip to content

Commit c96f195

Browse files
committed
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: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
1 parent 681e718 commit c96f195

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/acpi/scan.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2585,11 +2585,11 @@ void __init acpi_scan_init(void)
25852585
* Enumerate devices in the ACPI namespace.
25862586
*/
25872587
if (acpi_bus_scan(ACPI_ROOT_OBJECT))
2588-
goto out;
2588+
goto unlock;
25892589

25902590
acpi_root = acpi_fetch_acpi_dev(ACPI_ROOT_OBJECT);
25912591
if (!acpi_root)
2592-
goto out;
2592+
goto unlock;
25932593

25942594
/* Fixed feature devices do not exist on HW-reduced platform */
25952595
if (!acpi_gbl_reduced_hardware)
@@ -2599,7 +2599,7 @@ void __init acpi_scan_init(void)
25992599

26002600
acpi_scan_initialized = true;
26012601

2602-
out:
2602+
unlock:
26032603
mutex_unlock(&acpi_scan_lock);
26042604
}
26052605

0 commit comments

Comments
 (0)