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 <weiyongjun1@huawei.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
 
        base = devm_ioremap_resource(dev,
                        platform_get_resource(pdev, IORESOURCE_MEM, 0));
-       if (IS_ERR(base)) {
-               dev_err(dev, "Failed to ioremap registers\n");
+       if (IS_ERR(base))
                return PTR_ERR(base);
-       }
 
        jzpc->map = devm_regmap_init_mmio(dev, base,
                        &ingenic_pinctrl_regmap_config);