summaryrefslogtreecommitdiff
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2012-06-25 12:13:04 +0400
committerJeff Garzik <jgarzik@redhat.com>2012-06-29 19:38:11 +0400
commit30dcf76acc695cbd2fa919e294670fe9552e16e7 (patch)
tree77156836889ea87b90058dd23f634f0f7d99b757 /drivers/ata/libata-core.c
parent6b66d95895c149cbc04d4fac5a2f5477c543a8ae (diff)
downloadlinux-30dcf76acc695cbd2fa919e294670fe9552e16e7.tar.xz
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-core.c')
-rw-r--r--drivers/ata/libata-core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index bd33b4a7ac13..7705191b5a81 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -6049,9 +6049,6 @@ int ata_host_register(struct ata_host *host, struct scsi_host_template *sht)
if (rc)
goto err_tadd;
- /* associate with ACPI nodes */
- ata_acpi_associate(host);
-
/* set cable, sata_spd_limit and report */
for (i = 0; i < host->n_ports; i++) {
struct ata_port *ap = host->ports[i];