diff options
author | Alan <alan@lxorguk.ukuu.org.uk> | 2007-03-01 19:56:15 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-28 14:15:55 -0400 |
commit | cd0d3bbcdd650651b7ccfaf55d107e3fc237d95a (patch) | |
tree | 9c095bdb9056f5b36d3d3640a3f497cabfdd1f92 /drivers/ata/libata-core.c | |
parent | d88184fb2348a50f7c34f5d49a901c875b2e0114 (diff) |
libata: dev_config does not need ap and adev passing
It used to be impossible to get from ata_device to ata_port but that is
no longer true. Various methods have been cleaned up over time but
dev_config still takes both and most users don't need both anyway. Tidy
this one up
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r-- | drivers/ata/libata-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index e7ad13d43c9f..2b998b321881 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -1792,7 +1792,7 @@ int ata_dev_configure(struct ata_device *dev) | |||
1792 | dev->horkage |= ATA_HORKAGE_DMA_RW_ONLY; | 1792 | dev->horkage |= ATA_HORKAGE_DMA_RW_ONLY; |
1793 | 1793 | ||
1794 | if (ap->ops->dev_config) | 1794 | if (ap->ops->dev_config) |
1795 | ap->ops->dev_config(ap, dev); | 1795 | ap->ops->dev_config(dev); |
1796 | 1796 | ||
1797 | if (ata_msg_probe(ap)) | 1797 | if (ata_msg_probe(ap)) |
1798 | ata_dev_printk(dev, KERN_DEBUG, "%s: EXIT, drv_stat = 0x%x\n", | 1798 | ata_dev_printk(dev, KERN_DEBUG, "%s: EXIT, drv_stat = 0x%x\n", |