media: rcar_drif: Remove devm_ioremap_resource() error printing

devm_ioremap_resource() already prints an error message on failure, so
there is no need to repeat that.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
Geert Uytterhoeven 2019-03-01 04:38:31 -05:00 committed by Mauro Carvalho Chehab
parent 5eaa30aedd
commit 2dba3de6e7

View File

@ -1405,11 +1405,9 @@ static int rcar_drif_probe(struct platform_device *pdev)
/* Register map */
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
ch->base = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(ch->base)) {
ret = PTR_ERR(ch->base);
dev_err(&pdev->dev, "ioremap failed (%d)\n", ret);
return ret;
}
if (IS_ERR(ch->base))
return PTR_ERR(ch->base);
ch->start = res->start;
platform_set_drvdata(pdev, ch);