gpio: ixp4xx: remove redundant dev_err message

devm_ioremap_resource already contains error message, so remove
the redundant dev_err message

Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
This commit is contained in:
Ding Xiang 2019-07-31 17:47:54 +08:00 committed by Bartosz Golaszewski
parent d9e5ebac18
commit 61059b7048
1 changed files with 1 additions and 3 deletions

View File

@ -321,10 +321,8 @@ static int ixp4xx_gpio_probe(struct platform_device *pdev)
res = platform_get_resource(pdev, IORESOURCE_MEM, 0); res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
g->base = devm_ioremap_resource(dev, res); g->base = devm_ioremap_resource(dev, res);
if (IS_ERR(g->base)) { if (IS_ERR(g->base))
dev_err(dev, "ioremap error\n");
return PTR_ERR(g->base); return PTR_ERR(g->base);
}
/* /*
* Make sure GPIO 14 and 15 are NOT used as clocks but GPIO on * Make sure GPIO 14 and 15 are NOT used as clocks but GPIO on