Skip to content

Commit

Permalink
sata_via: style clean up, no indirect method call in LLD
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Jan 26, 2007
1 parent 6096b63 commit d025987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/sata_via.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit d025987

Please sign in to comment.