summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-05-30 11:46:39 +0200
committerTejun Heo <tj@kernel.org>2017-05-30 11:54:36 -0400
commit7ed4a21ad3131588e01178c915e6a854f391104e (patch)
treef9a2f7909521ca7e069ee23f715b80085aadf697 /drivers/ata
parent9bb9a39ce51eae886575251e87d9292f679e3e32 (diff)
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')
-rw-r--r--drivers/ata/pata_bf54x.c2
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;
}