ACPI: Convert ACPI PCI .bind/.unbind to use PCI bridge driver
acpi_device had a .bind/.unbind methods, but Linux driver model does not. Cut ACPI PCI code over to use the Linux driver model methods. Convert bind/unbind to use a new pci bridge driver. The driver will add/remove _PRT, so we can eventually remove .bind/.unbind methods. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
@@ -175,11 +175,6 @@ static int acpi_pci_root_add(struct acpi_device *device)
|
||||
strcpy(acpi_device_class(device), ACPI_PCI_ROOT_CLASS);
|
||||
acpi_driver_data(device) = root;
|
||||
|
||||
/*
|
||||
* TBD: Doesn't the bus driver automatically set this?
|
||||
*/
|
||||
device->ops.bind = acpi_pci_bind;
|
||||
|
||||
/*
|
||||
* Segment
|
||||
* -------
|
||||
|
Reference in New Issue
Block a user