Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6eaafbdb authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab
Browse files

[media] v4l: rcar-fcp: Keep the coding style consistent



The Renesas multimedia drivers use ret to store return values, fix the
only exception in the rcar-fcp driver to keep the coding style
consistent.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent c49148e8
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -99,14 +99,14 @@ EXPORT_SYMBOL_GPL(rcar_fcp_put);
 */
int rcar_fcp_enable(struct rcar_fcp_device *fcp)
{
	int error;
	int ret;

	if (!fcp)
		return 0;

	error = pm_runtime_get_sync(fcp->dev);
	if (error < 0)
		return error;
	ret = pm_runtime_get_sync(fcp->dev);
	if (ret < 0)
		return ret;

	return 0;
}