aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/zorro_esp.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-10-13 09:26:26 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2018-10-15 23:00:38 -0400
commit44b1b4d24b2d65134efeccb3cc2341c61227f0f9 (patch)
tree7caaebc5e8c769061dab9ba2102dc9218f3d6ae1 /drivers/scsi/zorro_esp.c
parentscsi: esp_scsi: use strong typing for the dev field (diff)
downloadlinux-dev-44b1b4d24b2d65134efeccb3cc2341c61227f0f9.tar.xz
linux-dev-44b1b4d24b2d65134efeccb3cc2341c61227f0f9.zip
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/zorro_esp.c')
-rw-r--r--drivers/scsi/zorro_esp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/zorro_esp.c b/drivers/scsi/zorro_esp.c
index bb70882e6b56..274a873bd2d5 100644
--- a/drivers/scsi/zorro_esp.c
+++ b/drivers/scsi/zorro_esp.c
@@ -1082,7 +1082,7 @@ static int zorro_esp_probe(struct zorro_dev *z,
}
/* register the chip */
- err = scsi_esp_register(esp, &z->dev);
+ err = scsi_esp_register(esp);
if (err) {
err = -ENOMEM;