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>
This commit is contained in:
@@ -1792,7 +1792,7 @@ int ata_dev_configure(struct ata_device *dev)
|
||||
dev->horkage |= ATA_HORKAGE_DMA_RW_ONLY;
|
||||
|
||||
if (ap->ops->dev_config)
|
||||
ap->ops->dev_config(ap, dev);
|
||||
ap->ops->dev_config(dev);
|
||||
|
||||
if (ata_msg_probe(ap))
|
||||
ata_dev_printk(dev, KERN_DEBUG, "%s: EXIT, drv_stat = 0x%x\n",
|
||||
|
Reference in New Issue
Block a user