aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_it821x.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-08-16 03:17:03 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-12 14:55:35 -0400
commitac8869d56d95a8c74403e6f7a47d74fcfcc1b988 (patch)
tree2f812aff4c6e559f3c093f9933960d09631375c8 /drivers/ata/pata_it821x.c
parent7d73a363dea186a864f6295bbe842da8044d42cd (diff)
[libata] Remove ->port_disable() hook
It was always set to ata_port_disable(). Removed the hook, and replaced the very few ap->ops->port_disable() callsites with direct calls to ata_port_disable(). Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_it821x.c')
-rw-r--r--drivers/ata/pata_it821x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ata/pata_it821x.c b/drivers/ata/pata_it821x.c
index 0179b29c5156..4188898a66a0 100644
--- a/drivers/ata/pata_it821x.c
+++ b/drivers/ata/pata_it821x.c
@@ -620,7 +620,6 @@ static struct scsi_host_template it821x_sht = {
620 620
621static struct ata_port_operations it821x_smart_port_ops = { 621static struct ata_port_operations it821x_smart_port_ops = {
622 .set_mode = it821x_smart_set_mode, 622 .set_mode = it821x_smart_set_mode,
623 .port_disable = ata_port_disable,
624 .tf_load = ata_tf_load, 623 .tf_load = ata_tf_load,
625 .tf_read = ata_tf_read, 624 .tf_read = ata_tf_read,
626 .mode_filter = ata_pci_default_filter, 625 .mode_filter = ata_pci_default_filter,
@@ -655,7 +654,6 @@ static struct ata_port_operations it821x_smart_port_ops = {
655}; 654};
656 655
657static struct ata_port_operations it821x_passthru_port_ops = { 656static struct ata_port_operations it821x_passthru_port_ops = {
658 .port_disable = ata_port_disable,
659 .set_piomode = it821x_passthru_set_piomode, 657 .set_piomode = it821x_passthru_set_piomode,
660 .set_dmamode = it821x_passthru_set_dmamode, 658 .set_dmamode = it821x_passthru_set_dmamode,
661 .mode_filter = ata_pci_default_filter, 659 .mode_filter = ata_pci_default_filter,