diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-05-30 11:46:41 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-05-30 11:54:37 -0400 |
commit | a2136b31d37e8edcea93a00e73b6383403b5b76e (patch) | |
tree | 9e8e1346e514a0f2272f24cfcebe81a529c27a8e /drivers/ata | |
parent | 62a98c2764e24b6ac637e3d3afe9dd6c5f088449 (diff) | |
download | linux-a2136b31d37e8edcea93a00e73b6383403b5b76e.tar.gz linux-a2136b31d37e8edcea93a00e73b6383403b5b76e.tar.bz2 linux-a2136b31d37e8edcea93a00e73b6383403b5b76e.zip |
ata: dwc_460ex: cut drvdata assignment
ata_host_alloc_pinfo() assigns the host pointer to the
struct device * drvdata, do not assign it a second time.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/sata_dwc_460ex.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c index e0939bd5ea73..ce128d5a6ded 100644 --- a/drivers/ata/sata_dwc_460ex.c +++ b/drivers/ata/sata_dwc_460ex.c @@ -1285,7 +1285,6 @@ static int sata_dwc_probe(struct platform_device *ofdev) if (err) dev_err(&ofdev->dev, "failed to activate host"); - dev_set_drvdata(&ofdev->dev, host); return 0; error_out: |