diff options
author | Matthew Garrett <mjg@redhat.com> | 2012-06-25 04:13:04 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-06-29 11:38:11 -0400 |
commit | 30dcf76acc695cbd2fa919e294670fe9552e16e7 (patch) | |
tree | 77156836889ea87b90058dd23f634f0f7d99b757 /drivers/ata/libata-pmp.c | |
parent | 6b66d95895c149cbc04d4fac5a2f5477c543a8ae (diff) |
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) | |||
529 | ata_for_each_link(tlink, ap, EDGE) | 529 | ata_for_each_link(tlink, ap, EDGE) |
530 | sata_link_init_spd(tlink); | 530 | sata_link_init_spd(tlink); |
531 | 531 | ||
532 | ata_acpi_associate_sata_port(ap); | ||
533 | |||
534 | return 0; | 532 | return 0; |
535 | 533 | ||
536 | fail: | 534 | fail: |
@@ -570,8 +568,6 @@ static void sata_pmp_detach(struct ata_device *dev) | |||
570 | ap->nr_pmp_links = 0; | 568 | ap->nr_pmp_links = 0; |
571 | link->pmp = 0; | 569 | link->pmp = 0; |
572 | spin_unlock_irqrestore(ap->lock, flags); | 570 | spin_unlock_irqrestore(ap->lock, flags); |
573 | |||
574 | ata_acpi_associate_sata_port(ap); | ||
575 | } | 571 | } |
576 | 572 | ||
577 | /** | 573 | /** |