summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-01-26 14:57:31 +0900
committerJeff Garzik <jeff@garzik.org>2007-01-26 17:24:07 -0500
commitd02598721706ab62a574823479b1f6c26c8980d2 (patch)
treec1cd484df805f2b80a9779665217dd3e9ca38198
parent6096b63e2584796341baf7e7735f98d387f489f2 (diff)
downloadop-kernel-dev-d02598721706ab62a574823479b1f6c26c8980d2.zip
op-kernel-dev-d02598721706ab62a574823479b1f6c26c8980d2.tar.gz
sata_via: style clean up, no indirect method call in LLD
Call ata_bmdma_irq_clear() directly instead of through ap->ops->irq_clear() according to libata style guideline. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/ata/sata_via.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c
index 55b0123..d3d5c0d 100644
--- a/drivers/ata/sata_via.c
+++ b/drivers/ata/sata_via.c
@@ -211,7 +211,7 @@ static void svia_noop_freeze(struct ata_port *ap)
* certain way. Leave it alone and just clear pending IRQ.
*/
ata_chk_status(ap);
- ap->ops->irq_clear(ap);
+ ata_bmdma_irq_clear(ap);
}
/**
OpenPOWER on IntegriCloud