Commit e9cd2519 authored by Ding Xiang's avatar Ding Xiang Committed by Greg Kroah-Hartman

slimbus: remove redundant dev_err message

devm_ioremap_resource already contains error message, so remove
the redundant dev_err message
Signed-off-by: default avatarDing Xiang <dingxiang@cmss.chinamobile.com>
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 786285f5
...@@ -528,10 +528,8 @@ static int qcom_slim_probe(struct platform_device *pdev) ...@@ -528,10 +528,8 @@ static int qcom_slim_probe(struct platform_device *pdev)
slim_mem = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ctrl"); slim_mem = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ctrl");
ctrl->base = devm_ioremap_resource(ctrl->dev, slim_mem); ctrl->base = devm_ioremap_resource(ctrl->dev, slim_mem);
if (IS_ERR(ctrl->base)) { if (IS_ERR(ctrl->base))
dev_err(&pdev->dev, "IOremap failed\n");
return PTR_ERR(ctrl->base); return PTR_ERR(ctrl->base);
}
sctrl->set_laddr = qcom_set_laddr; sctrl->set_laddr = qcom_set_laddr;
sctrl->xfer_msg = qcom_xfer_msg; sctrl->xfer_msg = qcom_xfer_msg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment