diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-01-11 17:53:29 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-01-12 15:58:49 +0100 |
commit | c96f195deeefecd8ef95c5aa508671dd246bf119 (patch) | |
tree | 1bb9910e545f45efb49af1f3c512b745399e66c9 /drivers/acpi/scan.c | |
parent | 681e7187aef46f8d4e0fd0ddd2f888e3e5533cb2 (diff) |
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>
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r-- | drivers/acpi/scan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 81ee565f47cd..75fab11f9188 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -2585,11 +2585,11 @@ void __init acpi_scan_init(void) * Enumerate devices in the ACPI namespace. */ if (acpi_bus_scan(ACPI_ROOT_OBJECT)) - goto out; + goto unlock; acpi_root = acpi_fetch_acpi_dev(ACPI_ROOT_OBJECT); if (!acpi_root) - goto out; + goto unlock; /* Fixed feature devices do not exist on HW-reduced platform */ if (!acpi_gbl_reduced_hardware) @@ -2599,7 +2599,7 @@ void __init acpi_scan_init(void) acpi_scan_initialized = true; - out: +unlock: mutex_unlock(&acpi_scan_lock); } |