summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-06-26 03:50:50 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-26 13:42:40 +0200
commit12b23d5ffafcc27291f518608367ab4a7a0dd026 (patch)
tree21691bf2d438f5e43e42238506461fb197e3e58f /drivers/video
parentvideo: xilinxfb: Use driver for Xilinx ARM Zynq (diff)
downloadlinux-12b23d5ffafcc27291f518608367ab4a7a0dd026.tar.xz
linux-12b23d5ffafcc27291f518608367ab4a7a0dd026.zip
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')
-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;
}