summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci-da8xx.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-29 16:25:32 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-29 12:51:56 -0400
commit4911f94dd327d16e492628f04661c1ea6e3d8d23 (patch)
treec4cf401fb34a279de3bf6c86f1763243a8fba36c /drivers/usb/host/ohci-da8xx.c
parentc0891284a74abd4127c743c75d4af2b2cbc7f1fa (diff)
usb: ohci-da8xx: remove redundant dev_err call in usb_hcd_da8xx_probe()
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 <weiyongjun1@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-da8xx.c')
-rw-r--r--drivers/usb/host/ohci-da8xx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/host/ohci-da8xx.c
index 30c48789389e..bd6cf3c9ec60 100644
--- a/drivers/usb/host/ohci-da8xx.c
+++ b/drivers/usb/host/ohci-da8xx.c
@@ -261,7 +261,6 @@ static int ohci_da8xx_probe(struct platform_device *pdev)
hcd->regs = devm_ioremap_resource(&pdev->dev, mem);
if (IS_ERR(hcd->regs)) {
error = PTR_ERR(hcd->regs);
- dev_err(&pdev->dev, "failed to map ohci.\n");
goto err;
}
hcd->rsrc_start = mem->start;