[media] v4l: rcar-fcp: Keep the coding style consistent
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 9 Aug 2016 15:36:41 +0000 (12:36 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Sep 2016 14:29:31 +0000 (11:29 -0300)
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 <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/rcar-fcp.c

index bc50c69ee0c5800d3c6ecce62a5cdc6546076d55..f7bcbf7677a0d211bffd860df6713b58ddfb3360 100644 (file)
@@ -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;
 }
This page took 0.037913 seconds and 5 git commands to generate.