summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-06-26 09:50:50 +0800
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-26 14:42:40 +0300
commit12b23d5ffafcc27291f518608367ab4a7a0dd026 (patch)
tree21691bf2d438f5e43e42238506461fb197e3e58f
parent196bf9f379ed88648ea62c86519beb6dfc385bbd (diff)
downloadop-kernel-dev-12b23d5ffafcc27291f518608367ab4a7a0dd026.zip
op-kernel-dev-12b23d5ffafcc27291f518608367ab4a7a0dd026.tar.gz
video: mxsfb: remove redundant dev_err call in mxsfb_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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r--drivers/video/mxsfb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
index 21223d4..251bbec 100644
--- a/drivers/video/mxsfb.c
+++ b/drivers/video/mxsfb.c
@@ -899,7 +899,6 @@ static int mxsfb_probe(struct platform_device *pdev)
host->base = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(host->base)) {
- dev_err(&pdev->dev, "ioremap failed\n");
ret = PTR_ERR(host->base);
goto fb_release;
}
OpenPOWER on IntegriCloud