linux/include/acpi
Rafael J. Wysocki 9d4f0ecb87 ACPI: PCI: Introduce acpi_dev_get_pci_dev()
Some acpi_get_pci_dev() callers already have a struct ACPI device for
which they want to get the struct pci_dev pointer of the associated
PCI device, so they don't need to look for one.

For this reason, add acpi_dev_get_pci_dev() that will get a PCI device
for a given ACPI one (if possible) and turn acpi_get_pci_dev() into
a static inline helper passing the acpi_fetch_acpi_dev() return value
directly to acpi_dev_get_pci_dev().

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/3430928.44csPzL39Z@rafael.j.wysocki
2026-07-21 16:59:46 +02:00
..
platform ACPICA: Define acpi_ut_safe_strncpy() as strscpy_pad() alias 2026-07-01 12:29:24 +02:00
acbuffer.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acconfig.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acexcep.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acnames.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acoutput.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acpi_bus.h Driver core changes for 7.2-rc1 2026-06-15 12:41:17 +05:30
acpi_drivers.h ACPI: PCI: Introduce acpi_dev_get_pci_dev() 2026-07-21 16:59:46 +02:00
acpi_io.h Revert "ACPI: Add memory semantics to acpi_os_map_memory()" 2021-09-23 20:39:36 +02:00
acpi_lpat.h
acpi_numa.h mm/fake-numa: allow later numa node hotplug 2025-01-25 20:22:29 -08:00
acpi.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acpiosxf.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acpixf.h Merge branch 'acpica' 2026-06-11 14:57:55 +02:00
acrestyp.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
actbl.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
actbl1.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
actbl2.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
actbl3.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
actypes.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acuuid.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
apei.h ACPI: APEI: Fix missing ERST record id 2022-04-13 20:29:24 +02:00
battery.h ACPI: battery: add devm_battery_hook_register() 2024-07-01 21:22:18 +08:00
button.h ACPI: button: move HIDs to acpi/button.h 2020-02-13 23:36:23 +01:00
cppc_acpi.h ACPI: CPPC: Add support for CPPC v4 2026-06-01 20:10:05 +02:00
ghes.h ACPI: APEI: GHES: Add devm_ghes_register_vendor_record_notifier() 2026-04-06 16:48:58 +02:00
hed.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 428 2019-06-05 17:37:16 +02:00
nfit.h
nhlt.h ACPI: NHLT: Streamline struct naming 2024-03-27 16:36:45 +01:00
pcc.h Revert "mailbox/pcc: support mailbox management of the shared buffer" 2026-01-18 14:19:20 -06:00
proc_cap_intel.h ACPI: processor: Introduce acpi_processor_osc() 2023-07-14 17:59:40 +02:00
processor.h ACPI: driver: Do not set acpi_device_class() unnecessarily 2026-03-13 16:48:26 +01:00
reboot.h
video.h ACPI: video: Add Dell UART backlight controller detection 2024-08-19 15:58:35 +02:00