提交 6eaafbdb 编写于 作者: L Laurent Pinchart 提交者: Mauro Carvalho Chehab

[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: NLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 c49148e8
...@@ -99,14 +99,14 @@ EXPORT_SYMBOL_GPL(rcar_fcp_put); ...@@ -99,14 +99,14 @@ EXPORT_SYMBOL_GPL(rcar_fcp_put);
*/ */
int rcar_fcp_enable(struct rcar_fcp_device *fcp) int rcar_fcp_enable(struct rcar_fcp_device *fcp)
{ {
int error; int ret;
if (!fcp) if (!fcp)
return 0; return 0;
error = pm_runtime_get_sync(fcp->dev); ret = pm_runtime_get_sync(fcp->dev);
if (error < 0) if (ret < 0)
return error; return ret;
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册