]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
video: mxsfb: remove redundant dev_err call in mxsfb_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 26 Jun 2013 01:50:50 +0000 (09:50 +0800)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Jun 2013 11:42:40 +0000 (14:42 +0300)
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>
drivers/video/mxsfb.c

index 21223d475b39bb54aff2f58e95a73282f37754dd..251bbec066937da19858867f88f7dcaf61bb4935 100644 (file)
@@ -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;
        }