device_pm.c (c9f289701540baeef9ac7c9977d67a7259f404db) device_pm.c (b62c770fee699a137359e1f1da9bf14a7f348567)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * drivers/acpi/device_pm.c - ACPI device power management routines.
4 *
5 * Copyright (C) 2012, Intel Corp.
6 * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
7 *
8 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

1316{
1317 /*
1318 * Skip devices whose ACPI companions match the device IDs below,
1319 * because they require special power management handling incompatible
1320 * with the generic ACPI PM domain.
1321 */
1322 static const struct acpi_device_id special_pm_ids[] = {
1323 {"PNP0C0B", }, /* Generic ACPI fan */
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * drivers/acpi/device_pm.c - ACPI device power management routines.
4 *
5 * Copyright (C) 2012, Intel Corp.
6 * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
7 *
8 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

1316{
1317 /*
1318 * Skip devices whose ACPI companions match the device IDs below,
1319 * because they require special power management handling incompatible
1320 * with the generic ACPI PM domain.
1321 */
1322 static const struct acpi_device_id special_pm_ids[] = {
1323 {"PNP0C0B", }, /* Generic ACPI fan */
1324 {"INT1044", }, /* Fan for Tiger Lake generation */
1325 {"INT3404", }, /* Fan */
1324 {"INT3404", }, /* Fan */
1325 {"INTC1044", }, /* Fan for Tiger Lake generation */
1326 {}
1327 };
1328 struct acpi_device *adev = ACPI_COMPANION(dev);
1329
1330 if (!adev || !acpi_match_device_ids(adev, special_pm_ids))
1331 return 0;
1332
1333 /*

--- 19 unchanged lines hidden ---
1326 {}
1327 };
1328 struct acpi_device *adev = ACPI_COMPANION(dev);
1329
1330 if (!adev || !acpi_match_device_ids(adev, special_pm_ids))
1331 return 0;
1332
1333 /*

--- 19 unchanged lines hidden ---