diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-04-05 19:49:26 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-04-05 19:49:26 +0200 |
commit | ac2a3feefad549814f5e7cca30be07a255c8494a (patch) | |
tree | af591501a1c66eb25c560f9daadf23882f00aa51 /include/acpi/acpi_bus.h | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) | |
download | lwn-ac2a3feefad549814f5e7cca30be07a255c8494a.tar.gz lwn-ac2a3feefad549814f5e7cca30be07a255c8494a.zip |
ACPI: bus: Eliminate acpi_bus_get_device()
Replace the last instance of acpi_bus_get_device(), added recently
by commit 87e59b36e5e2 ("spi: Support selection of the index of the
ACPI Spi Resource before alloc"), with acpi_fetch_acpi_dev() and
finally drop acpi_bus_get_device() that has no more users.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/acpi/acpi_bus.h')
-rw-r--r-- | include/acpi/acpi_bus.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 3f7f01f03869..c4b78c21d793 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -509,7 +509,6 @@ extern int unregister_acpi_notifier(struct notifier_block *); * External Functions */ -int acpi_bus_get_device(acpi_handle handle, struct acpi_device **device); struct acpi_device *acpi_fetch_acpi_dev(acpi_handle handle); acpi_status acpi_bus_get_status_handle(acpi_handle handle, unsigned long long *sta); |