Linux ATA/IDE development
 help / color / mirror / Atom feed
* [PATCH 1/6] ata: bf54x: cut drvdata assignment
@ 2017-05-30  9:46 Linus Walleij
  2017-05-30  9:46 ` [PATCH 2/6] ata: ep93xx: " Linus Walleij
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Linus Walleij @ 2017-05-30  9:46 UTC (permalink / raw)
  To: Tejun Heo, Bartlomiej Zolnierkiewicz; +Cc: linux-ide, Linus Walleij

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>
---
 drivers/ata/pata_bf54x.c | 2 --
 1 file changed, 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;
 }
 
-- 
2.9.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-05-30 15:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-30  9:46 [PATCH 1/6] ata: bf54x: cut drvdata assignment Linus Walleij
2017-05-30  9:46 ` [PATCH 2/6] ata: ep93xx: " Linus Walleij
2017-05-30  9:46 ` [PATCH 3/6] ata: dwc_460ex: " Linus Walleij
2017-05-30  9:46 ` [PATCH 4/6] ata: rb532_cf: " Linus Walleij
2017-05-30  9:46 ` [PATCH 5/6] ata: samsung_cf: " Linus Walleij
2017-05-30  9:46 ` [PATCH 6/6] ata: sata_fsl: " Linus Walleij
2017-05-30 12:22 ` [PATCH 1/6] ata: bf54x: " Sergei Shtylyov
2017-05-30 15:55 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox