summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij2017-05-30 11:46:39 +0200
committerTejun Heo2017-05-30 17:54:36 +0200
commit7ed4a21ad3131588e01178c915e6a854f391104e (patch)
treef9a2f7909521ca7e069ee23f715b80085aadf697
parentata: update references for libata documentation (diff)
downloadkernel-qcow2-linux-7ed4a21ad3131588e01178c915e6a854f391104e.tar.gz
kernel-qcow2-linux-7ed4a21ad3131588e01178c915e6a854f391104e.tar.xz
kernel-qcow2-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>
-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;
}