diff options
author | Tejun Heo <tj@kernel.org> | 2008-07-31 18:02:35 +0900 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-08-22 02:19:54 -0400 |
commit | ff04715bd5171d6d5c4ddff40c7bdc8d2dc90f7d (patch) | |
tree | c6c6407f2a1d42dea3c8235531f02c3492962d2f /drivers/ata/ahci.c | |
parent | d127ea7b8643a93d14d1f3c542974407f14d3663 (diff) |
pata_via: clean up recent tf_load changes
Commit bfce5e0179ad059035df28558724ff60af708e09 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: Tejun Heo <tj@kernel.org>
Cc: Joseph Chan <JosephChan@via.com.tw>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/ahci.c')
0 files changed, 0 insertions, 0 deletions