• Tejun Heo's avatar
    libata: clean up port_ops->sff_irq_clear() · 288623a0
    Tejun Heo authored
    ->sff_irq_clear() is called only from SFF interrupt handler, so there
    is no reason to initialize it for non-SFF controllers.  Also,
    ata_sff_irq_clear() can handle both BMDMA and non-BMDMA SFF
    controllers.
    
    This patch kills ata_noop_irq_clear() and removes it from base
    port_ops and sets ->sff_irq_clear to ata_sff_irq_clear() in sff
    port_ops instead of bmdma port_ops.
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    288623a0
libata-sff.c 70.1 KB