summaryrefslogtreecommitdiff
path: root/drivers/video/mxsfb.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-06-26 05:50:50 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-26 15:42:40 +0400
commit12b23d5ffafcc27291f518608367ab4a7a0dd026 (patch)
tree21691bf2d438f5e43e42238506461fb197e3e58f /drivers/video/mxsfb.c
parent196bf9f379ed88648ea62c86519beb6dfc385bbd (diff)
downloadlinux-12b23d5ffafcc27291f518608367ab4a7a0dd026.tar.xz
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>
Diffstat (limited to 'drivers/video/mxsfb.c')
-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 21223d475b39..251bbec06693 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;
}