Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+3 -3
+3 -3
drivers/acpi/scan.c
··· 2585 2585 * Enumerate devices in the ACPI namespace. 2586 2586 */ 2587 2587 if (acpi_bus_scan(ACPI_ROOT_OBJECT)) 2588 - goto out; 2588 + goto unlock; 2589 2589 2590 2590 acpi_root = acpi_fetch_acpi_dev(ACPI_ROOT_OBJECT); 2591 2591 if (!acpi_root) 2592 - goto out; 2592 + goto unlock; 2593 2593 2594 2594 /* Fixed feature devices do not exist on HW-reduced platform */ 2595 2595 if (!acpi_gbl_reduced_hardware) ··· 2599 2599 2600 2600 acpi_scan_initialized = true; 2601 2601 2602 - out: 2602 + unlock: 2603 2603 mutex_unlock(&acpi_scan_lock); 2604 2604 } 2605 2605