Thread (2 messages) 2 messages, 2 authors, 2008-08-22

Re: [PATCH #upstream-fixes] pata_via: clean up recent tf_load changes

From: Jeff Garzik <hidden>
Date: 2008-08-22 06:20:32

Tejun Heo wrote:
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 <redacted>
---
 drivers/ata/pata_via.c |   59 +++++++++----------------------------------------
 1 file changed, 11 insertions(+), 48 deletions(-)
applied

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help