Commit 2dba3de6 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Mauro Carvalho Chehab

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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 5eaa30ae
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment