From: Moritz Fischer <mdf@kernel.org>
To: Ding Xiang <dingxiang@cmss.chinamobile.com>
Cc: mdf@kernel.org, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fpga: remove redundant dev_err message
Date: Thu, 2 Jan 2020 20:59:03 -0800 [thread overview]
Message-ID: <20200103045903.GA21472@epycbox.lan> (raw)
In-Reply-To: <1568107616-12755-1-git-send-email-dingxiang@cmss.chinamobile.com>
On Tue, Sep 10, 2019 at 05:26:56PM +0800, Ding Xiang wrote:
> devm_ioremap_resource already contains error message, so remove
> the redundant dev_err message
>
> Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
> ---
> drivers/fpga/ts73xx-fpga.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/fpga/ts73xx-fpga.c b/drivers/fpga/ts73xx-fpga.c
> index 9a17fe9..2888ff0 100644
> --- a/drivers/fpga/ts73xx-fpga.c
> +++ b/drivers/fpga/ts73xx-fpga.c
> @@ -119,10 +119,8 @@ static int ts73xx_fpga_probe(struct platform_device *pdev)
>
> res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> priv->io_base = devm_ioremap_resource(kdev, res);
> - if (IS_ERR(priv->io_base)) {
> - dev_err(kdev, "unable to remap registers\n");
> + if (IS_ERR(priv->io_base))
> return PTR_ERR(priv->io_base);
> - }
>
> mgr = devm_fpga_mgr_create(kdev, "TS-73xx FPGA Manager",
> &ts73xx_fpga_ops, priv);
> --
> 1.9.1
>
>
>
Applied to for-next.
Thanks,
Moritz
prev parent reply other threads:[~2020-01-03 4:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-10 9:26 [PATCH] fpga: remove redundant dev_err message Ding Xiang
2020-01-03 4:59 ` Moritz Fischer [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=20200103045903.GA21472@epycbox.lan \
--to=mdf@kernel.org \
--cc=dingxiang@cmss.chinamobile.com \
--cc=linux-fpga@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).