diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-07-16 16:04:53 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-07-21 16:59:46 +0200 |
| commit | 9d4f0ecb87fd939207682ec30dcaf128d43f07fb (patch) | |
| tree | a8819b468969b302cd66e70316c7d26fca1fab60 /tools/perf/scripts/python/bin | |
| parent | 5d42a19dac27dc23b827b1a0ba88e76aa89be011 (diff) | |
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
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
