]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI / glue: Drop .find_bridge() callback from struct acpi_bus_type
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 3 Mar 2013 21:35:44 +0000 (22:35 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 3 Mar 2013 21:35:44 +0000 (22:35 +0100)
commit9a1a75706aaaad9d1afb34c4149acc4ab9c9e97d
treefc94a466119ef05c50341bb07bfd60bcd935e8aa
parent989a799833e12fcc41637623409a5b486e037e07
ACPI / glue: Drop .find_bridge() callback from struct acpi_bus_type

After PCI and USB have stopped using the .find_bridge() callback in
struct acpi_bus_type, the only remaining user of it is SATA, but SATA
only pretends to be a user, because it points that callback to a stub
always returning -ENODEV.

For this reason, drop the SATA's dummy .find_bridge() callback and
remove .find_bridge(), which is not used any more, from struct
acpi_bus_type entirely.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
drivers/acpi/glue.c
drivers/ata/libata-acpi.c
include/acpi/acpi_bus.h