diff options
author | Tejun Heo <tj@kernel.org> | 2008-07-31 11:02:35 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-08-22 08:19:54 +0200 |
commit | ff04715bd5171d6d5c4ddff40c7bdc8d2dc90f7d (patch) | |
tree | c6c6407f2a1d42dea3c8235531f02c3492962d2f /virt/kvm | |
parent | libata: restore SControl on detach (diff) | |
download | linux-ff04715bd5171d6d5c4ddff40c7bdc8d2dc90f7d.tar.xz linux-ff04715bd5171d6d5c4ddff40c7bdc8d2dc90f7d.zip |
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 'virt/kvm')
0 files changed, 0 insertions, 0 deletions