diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-30 20:45:01 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-10-01 20:30:39 +0200 |
| commit | 538076b45429652424801cb127581ed3dc56a0b7 (patch) | |
| tree | ac9d7463db6bcf2b21eda2d85acff81d0c427a82 /include/linux | |
| parent | 4ed5b18e4ebd3c8bfc353ec68c1bfc818f1b9aac (diff) | |
| download | linux-538076b45429652424801cb127581ed3dc56a0b7.tar.gz linux-538076b45429652424801cb127581ed3dc56a0b7.zip | |
ACPI: bus: Drop acpi_get_first_physical_node()
Fold acpi_get_first_physical_node() into acpi_primary_dev_companion()
that is its only remaining caller and drop its signature from the
header file.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Sudeep Holla <sudeep.holla@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/4537440.ejJDZkT8p0@rafael.j.wysocki
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/acpi.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index ba5234bd93a2..6f69819f9c9a 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -105,8 +105,6 @@ static inline const char *acpi_dev_name(struct acpi_device *adev) return dev_name(&adev->dev); } -struct device *acpi_get_first_physical_node(struct acpi_device *adev); - enum acpi_irq_model_id { ACPI_IRQ_MODEL_PIC = 0, ACPI_IRQ_MODEL_IOAPIC, @@ -938,11 +936,6 @@ static inline const char *acpi_dev_name(struct acpi_device *adev) return NULL; } -static inline struct device *acpi_get_first_physical_node(struct acpi_device *adev) -{ - return NULL; -} - static inline void acpi_early_init(void) { } static inline void acpi_subsystem_init(void) { } |
