]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.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>
Mon, 4 Mar 2013 13:23:40 +0000 (14:23 +0100)
commit924144818cf0edc5d9d70d3a44e7cbbf4544796c
treec58abdcb5a82d4498a856b4e53607857b35926a6
parent53540098b23c3884b4a0b4f220b9d977bc496af3
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