Commit bea47077 authored by YueHaibing's avatar YueHaibing Committed by Herbert Xu
Browse files

crypto: ux500 - Remove redundant dev_err calls



There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent a790f9de
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1291,7 +1291,6 @@ static int ux500_cryp_probe(struct platform_device *pdev)
	device_data->phybase = res->start;
	device_data->base = devm_ioremap_resource(dev, res);
	if (IS_ERR(device_data->base)) {
		dev_err(dev, "[%s]: ioremap failed!", __func__);
		ret = PTR_ERR(device_data->base);
		goto out;
	}
+0 −1
Original line number Diff line number Diff line
@@ -1676,7 +1676,6 @@ static int ux500_hash_probe(struct platform_device *pdev)
	device_data->phybase = res->start;
	device_data->base = devm_ioremap_resource(dev, res);
	if (IS_ERR(device_data->base)) {
		dev_err(dev, "%s: ioremap() failed!\n", __func__);
		ret = PTR_ERR(device_data->base);
		goto out;
	}