diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-05-30 11:46:39 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-05-30 11:54:36 -0400 |
commit | 7ed4a21ad3131588e01178c915e6a854f391104e (patch) | |
tree | f9a2f7909521ca7e069ee23f715b80085aadf697 /drivers/ata/pata_bf54x.c | |
parent | 9bb9a39ce51eae886575251e87d9292f679e3e32 (diff) | |
download | talos-obmc-linux-7ed4a21ad3131588e01178c915e6a854f391104e.tar.gz talos-obmc-linux-7ed4a21ad3131588e01178c915e6a854f391104e.zip |
ata: bf54x: 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/pata_bf54x.c')
-rw-r--r-- | drivers/ata/pata_bf54x.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ata/pata_bf54x.c b/drivers/ata/pata_bf54x.c index 9c5780a7e1b9..0e55a8da2748 100644 --- a/drivers/ata/pata_bf54x.c +++ b/drivers/ata/pata_bf54x.c @@ -1597,8 +1597,6 @@ static int bfin_atapi_probe(struct platform_device *pdev) return -ENODEV; } - platform_set_drvdata(pdev, host); - return 0; } |