summaryrefslogtreecommitdiff
path: root/drivers/scsi/am53c974.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-10-13 10:26:26 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-10-16 06:00:38 +0300
commit44b1b4d24b2d65134efeccb3cc2341c61227f0f9 (patch)
tree7caaebc5e8c769061dab9ba2102dc9218f3d6ae1 /drivers/scsi/am53c974.c
parent98cda6a2e0d46507c084bf1488f5627b9e487a2a (diff)
downloadlinux-44b1b4d24b2d65134efeccb3cc2341c61227f0f9.tar.xz
scsi: esp_scsi: remove the dev argument to scsi_esp_register
We can simplify use esp->dev now. Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/am53c974.c')
-rw-r--r--drivers/scsi/am53c974.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/am53c974.c b/drivers/scsi/am53c974.c
index 3890ea5cd4a6..75ac065ef49e 100644
--- a/drivers/scsi/am53c974.c
+++ b/drivers/scsi/am53c974.c
@@ -496,7 +496,7 @@ static int pci_esp_probe_one(struct pci_dev *pdev,
/* Assume 40MHz clock */
esp->cfreq = 40000000;
- err = scsi_esp_register(esp, &pdev->dev);
+ err = scsi_esp_register(esp);
if (err)
goto fail_free_irq;