diff options
author | Christoph Hellwig <hch@lst.de> | 2018-10-13 09:26:26 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-10-15 23:00:38 -0400 |
commit | 44b1b4d24b2d65134efeccb3cc2341c61227f0f9 (patch) | |
tree | 7caaebc5e8c769061dab9ba2102dc9218f3d6ae1 /drivers/scsi/sun3x_esp.c | |
parent | 98cda6a2e0d46507c084bf1488f5627b9e487a2a (diff) | |
download | linux-44b1b4d24b2d65134efeccb3cc2341c61227f0f9.tar.bz2 |
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/sun3x_esp.c')
-rw-r--r-- | drivers/scsi/sun3x_esp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sun3x_esp.c b/drivers/scsi/sun3x_esp.c index 0b1421cdf8a0..e80c0a15fd8a 100644 --- a/drivers/scsi/sun3x_esp.c +++ b/drivers/scsi/sun3x_esp.c @@ -246,7 +246,7 @@ static int esp_sun3x_probe(struct platform_device *dev) dev_set_drvdata(&dev->dev, esp); - err = scsi_esp_register(esp, &dev->dev); + err = scsi_esp_register(esp); if (err) goto fail_free_irq; |