From: Sascha Hauer <s.hauer@pengutronix.de>
To: Alexander Shiyan <shc_work@mail.ru>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/4] mci: imx: Use mci_register() return value for driver probe.
Date: Mon, 20 Jun 2016 08:32:47 +0200 [thread overview]
Message-ID: <20160620063247.GM9677@pengutronix.de> (raw)
In-Reply-To: <1466256538-4067-1-git-send-email-shc_work@mail.ru>
On Sat, Jun 18, 2016 at 04:28:55PM +0300, Alexander Shiyan wrote:
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> ---
> drivers/mci/imx.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Applied all, thanks
Sascha
>
> 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
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2016-06-20 6:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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
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 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160620063247.GM9677@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=shc_work@mail.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox