From: Wei Yongjun <weiyj.lk@gmail.com>
To: bhelgaas@google.com, grant.likely@linaro.org,
rob.herring@calxeda.com, xobs@kosagi.com, s.hauer@pengutronix.de,
shawn.guo@linaro.org
Cc: yongjun_wei@trendmicro.com.cn, linux-pci@vger.kernel.org
Subject: [PATCH -next] PCI: imx6: remove redundant dev_err call in imx6_pcie_probe()
Date: Sat, 12 Oct 2013 14:11:02 +0800 [thread overview]
Message-ID: <CAPgLHd-M6y2VkZv_TWkOqugXnu=NgFuxyBVskd-2fQjy79u61g@mail.gmail.com> (raw)
From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
---
drivers/pci/host/pci-imx6.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
index 5afa922..51338ac 100644
--- a/drivers/pci/host/pci-imx6.c
+++ b/drivers/pci/host/pci-imx6.c
@@ -439,7 +439,6 @@ static int __init imx6_pcie_probe(struct platform_device *pdev)
pp->dbi_base = devm_ioremap_resource(&pdev->dev, dbi_base);
if (IS_ERR(pp->dbi_base)) {
- dev_err(&pdev->dev, "unable to remap dbi_base\n");
ret = PTR_ERR(pp->dbi_base);
goto err;
}
next reply other threads:[~2013-10-12 6:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-12 6:11 Wei Yongjun [this message]
2013-10-12 8:11 ` [PATCH -next] PCI: imx6: remove redundant dev_err call in imx6_pcie_probe() Shawn Guo
2013-10-14 0:09 ` Jingoo Han
2013-10-29 19:25 ` Bjorn Helgaas
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='CAPgLHd-M6y2VkZv_TWkOqugXnu=NgFuxyBVskd-2fQjy79u61g@mail.gmail.com' \
--to=weiyj.lk@gmail.com \
--cc=bhelgaas@google.com \
--cc=grant.likely@linaro.org \
--cc=linux-pci@vger.kernel.org \
--cc=rob.herring@calxeda.com \
--cc=s.hauer@pengutronix.de \
--cc=shawn.guo@linaro.org \
--cc=xobs@kosagi.com \
--cc=yongjun_wei@trendmicro.com.cn \
/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).