Skip to content

Commit

Permalink
[PATCH] libata: use dev->ap
Browse files Browse the repository at this point in the history
Use dev->ap where possible and eliminate superflous @ap from functions
and structures.

Signed-off-by: Tejun Heo <htejun@gmail.com>
  • Loading branch information
Tejun Heo committed May 15, 2006
1 parent 38d8723 commit 3373efd
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 128 deletions.
2 changes: 1 addition & 1 deletion drivers/scsi/ahci.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ static int ahci_softreset(struct ata_port *ap, unsigned int *class)
/* restart engine */
ahci_start_engine(ap);

ata_tf_init(ap, &tf, 0);
ata_tf_init(ap->device, &tf);
fis = pp->cmd_tbl;

/* issue the first D2H Register FIS */
Expand Down
Loading

0 comments on commit 3373efd

Please sign in to comment.