mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/4] mci: imx: Use mci_register() return value for driver probe.
@ 2016-06-18 13:28 Alexander Shiyan
  2016-06-18 13:28 ` [PATCH 2/4] mci: imx: Add devicetree options parsing by MCI core Alexander Shiyan
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Alexander Shiyan @ 2016-06-18 13:28 UTC (permalink / raw)
  To: barebox

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 drivers/mci/imx.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/mci/imx.c b/drivers/mci/imx.c
index 2788fb9..4f29ddf 100644
--- a/drivers/mci/imx.c
+++ b/drivers/mci/imx.c
@@ -519,9 +519,7 @@ static int mxcmci_probe(struct device_d *dev)
 	host->mci.f_min = rate >> 7;
 	host->mci.f_max = rate >> 1;
 
-	mci_register(&host->mci);
-
-	return 0;
+	return mci_register(&host->mci);
 }
 
 static __maybe_unused struct of_device_id mxcmci_compatible[] = {
-- 
2.4.9


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2016-06-20  6:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-18 13:28 [PATCH 1/4] mci: imx: Use mci_register() return value for driver probe Alexander Shiyan
2016-06-18 13:28 ` [PATCH 2/4] mci: imx: Add devicetree options parsing by MCI core Alexander Shiyan
2016-06-18 13:28 ` [PATCH 3/4] mci: core: Do not fail if vmmc regulator fail Alexander Shiyan
2016-06-18 13:28 ` [PATCH 4/4] mci: imx-esdhc: Remove excess function Alexander Shiyan
2016-06-20  6:32 ` [PATCH 1/4] mci: imx: Use mci_register() return value for driver probe Sascha Hauer

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