diff options
author | Matthew Garrett <mjg@redhat.com> | 2012-06-25 10:13:04 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-06-29 17:38:11 +0200 |
commit | 30dcf76acc695cbd2fa919e294670fe9552e16e7 (patch) | |
tree | 77156836889ea87b90058dd23f634f0f7d99b757 /drivers/ata/libata-pmp.c | |
parent | libata: bind the Linux device tree to the ACPI device tree (diff) | |
download | linux-30dcf76acc695cbd2fa919e294670fe9552e16e7.tar.xz linux-30dcf76acc695cbd2fa919e294670fe9552e16e7.zip |
libata: migrate ACPI code over to new bindings
Now that we have the ability to directly glue the ACPI namespace to the
driver model in libata, we don't need the custom code to handle the same
thing. Remove it and migrate the functions over to the new code.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Holger Macht <holger@homac.de>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-pmp.c')
-rw-r--r-- | drivers/ata/libata-pmp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ata/libata-pmp.c b/drivers/ata/libata-pmp.c index 21b80c555c60..61c59ee45ce9 100644 --- a/drivers/ata/libata-pmp.c +++ b/drivers/ata/libata-pmp.c @@ -529,8 +529,6 @@ int sata_pmp_attach(struct ata_device *dev) ata_for_each_link(tlink, ap, EDGE) sata_link_init_spd(tlink); - ata_acpi_associate_sata_port(ap); - return 0; fail: @@ -570,8 +568,6 @@ static void sata_pmp_detach(struct ata_device *dev) ap->nr_pmp_links = 0; link->pmp = 0; spin_unlock_irqrestore(ap->lock, flags); - - ata_acpi_associate_sata_port(ap); } /** |