Browse Source

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>
Wei Yongjun 12 years ago
parent
commit
12b23d5ffa
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/video/mxsfb.c

+ 0 - 1
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;
 	}