• Tejun Heo's avatar
    pata_via: clean up recent tf_load changes · ff04715b
    Tejun Heo authored
    Commit bfce5e01 implemented custom
    tf_load for pata_via.  This patch cleans it up a bit.
    
    * Instead of duplicating whole body, copy tf and set ATA_TFLAG_DEVICE
      when necessary.
    
    * Rename via_ata_tf_load() to via_tf_load().
    
    * No need to set .tf_load in via_port_ops_noirq as it inherits from
      via_port_ops.
    
    * Clean up indentation.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Joseph Chan <JosephChan@via.com.tw>
    Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
    ff04715b
pata_via.c 17.6 KB