Skip to content

Commit 6eaafbd

Browse files
Laurent Pinchartmchehab
authored andcommitted
[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: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent c49148e commit 6eaafbd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/media/platform/rcar-fcp.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ EXPORT_SYMBOL_GPL(rcar_fcp_put);
9999
*/
100100
int rcar_fcp_enable(struct rcar_fcp_device *fcp)
101101
{
102-
int error;
102+
int ret;
103103

104104
if (!fcp)
105105
return 0;
106106

107-
error = pm_runtime_get_sync(fcp->dev);
108-
if (error < 0)
109-
return error;
107+
ret = pm_runtime_get_sync(fcp->dev);
108+
if (ret < 0)
109+
return ret;
110110

111111
return 0;
112112
}

0 commit comments

Comments
 (0)