diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-15 07:57:53 -0400 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-15 07:57:53 -0400 |
commit | 3373efd89dead4ce7818d685729e0431448357c9 (patch) | |
tree | d7e7a1afd83e269c3c0978f924cd8c54d9be7f5a /drivers/scsi/ahci.c | |
parent | 38d87234d6c47ca487fc6344100323d5adc6f32c (diff) |
[PATCH] libata: use dev->ap
Use dev->ap where possible and eliminate superflous @ap from functions
and structures.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/scsi/ahci.c')
-rw-r--r-- | drivers/scsi/ahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ahci.c b/drivers/scsi/ahci.c index c2298fb131d8..f6e4c8ea74e3 100644 --- a/drivers/scsi/ahci.c +++ b/drivers/scsi/ahci.c | |||
@@ -597,7 +597,7 @@ static int ahci_softreset(struct ata_port *ap, unsigned int *class) | |||
597 | /* restart engine */ | 597 | /* restart engine */ |
598 | ahci_start_engine(ap); | 598 | ahci_start_engine(ap); |
599 | 599 | ||
600 | ata_tf_init(ap, &tf, 0); | 600 | ata_tf_init(ap->device, &tf); |
601 | fis = pp->cmd_tbl; | 601 | fis = pp->cmd_tbl; |
602 | 602 | ||
603 | /* issue the first D2H Register FIS */ | 603 | /* issue the first D2H Register FIS */ |