scan.c (aa10fab0f859ef86e998ee1cdaa89fc8e542e2c9) scan.c (6381195ad7d06ef979528c7452f3ff93659f86b1)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * scan.c - support for transforming the ACPI namespace into individual objects
4 */
5
6#include <linux/module.h>
7#include <linux/init.h>
8#include <linux/slab.h>

--- 2346 unchanged lines hidden (view full) ---

2355 acpi_detach_data(acpi_root->handle,
2356 acpi_scan_drop_device);
2357 acpi_device_del(acpi_root);
2358 acpi_bus_put_acpi_device(acpi_root);
2359 goto out;
2360 }
2361 }
2362
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * scan.c - support for transforming the ACPI namespace into individual objects
4 */
5
6#include <linux/module.h>
7#include <linux/init.h>
8#include <linux/slab.h>

--- 2346 unchanged lines hidden (view full) ---

2355 acpi_detach_data(acpi_root->handle,
2356 acpi_scan_drop_device);
2357 acpi_device_del(acpi_root);
2358 acpi_bus_put_acpi_device(acpi_root);
2359 goto out;
2360 }
2361 }
2362
2363 acpi_turn_off_unused_power_resources(true);
2363 acpi_turn_off_unused_power_resources();
2364
2365 acpi_scan_initialized = true;
2366
2367 out:
2368 mutex_unlock(&acpi_scan_lock);
2369 return result;
2370}
2371

--- 92 unchanged lines hidden ---
2364
2365 acpi_scan_initialized = true;
2366
2367 out:
2368 mutex_unlock(&acpi_scan_lock);
2369 return result;
2370}
2371

--- 92 unchanged lines hidden ---