summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-01-26 08:57:31 +0300
committerJeff Garzik <jeff@garzik.org>2007-01-27 01:24:07 +0300
commitd02598721706ab62a574823479b1f6c26c8980d2 (patch)
treec1cd484df805f2b80a9779665217dd3e9ca38198 /drivers/ata
parent6096b63e2584796341baf7e7735f98d387f489f2 (diff)
downloadlinux-d02598721706ab62a574823479b1f6c26c8980d2.tar.xz
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>
Diffstat (limited to 'drivers/ata')
-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 55b01236a6f0..d3d5c0d57032 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);
}
/**