]> err.no Git - linux-2.6/commitdiff
sata_via: style clean up, no indirect method call in LLD
authorTejun Heo <htejun@gmail.com>
Fri, 26 Jan 2007 05:57:31 +0000 (14:57 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 26 Jan 2007 22:24:07 +0000 (17:24 -0500)
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>
drivers/ata/sata_via.c

index 55b01236a6f042fc661388bb798154def97c6b58..d3d5c0d57032f029024e3077d475573a523c1c4c 100644 (file)
@@ -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);
 }
 
 /**