提交 d0259872 编写于 作者: T Tejun Heo 提交者: Jeff Garzik

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: NTejun Heo <htejun@gmail.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 6096b63e
...@@ -211,7 +211,7 @@ static void svia_noop_freeze(struct ata_port *ap) ...@@ -211,7 +211,7 @@ static void svia_noop_freeze(struct ata_port *ap)
* certain way. Leave it alone and just clear pending IRQ. * certain way. Leave it alone and just clear pending IRQ.
*/ */
ata_chk_status(ap); ata_chk_status(ap);
ap->ops->irq_clear(ap); ata_bmdma_irq_clear(ap);
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册