Commit 2ac36fd5 authored by Fabio Estevam's avatar Fabio Estevam Committed by Mauro Carvalho Chehab
Browse files

media: imx7-media-csi: Remove unneeded error message



In case of ioremap failure, the core code will take care of printing
the error message, so there is no need for having a local error
message in the driver.

Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 9e5fa4e1
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1194,10 +1194,8 @@ static int imx7_csi_probe(struct platform_device *pdev)
	}

	csi->regbase = devm_platform_ioremap_resource(pdev, 0);
	if (IS_ERR(csi->regbase)) {
		dev_err(dev, "Failed platform resources map\n");
	if (IS_ERR(csi->regbase))
		return PTR_ERR(csi->regbase);
	}

	spin_lock_init(&csi->irqlock);
	mutex_init(&csi->lock);