[media] staging: media: davinci_vpfe: Rewrite return statement in vpfe_video.c

Rewrite the return statement in vpfe_video.c. This will prevent
the checkpatch.pl script from generating a warning saying
to remove () from this particular return statement.

Signed-off-by: Lisa Nguyen <lisa@xenapiadmin.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
Lisa Nguyen 2013-12-11 03:09:22 -03:00 committed by Mauro Carvalho Chehab
parent c324981d3b
commit 3e6e3b3d3d
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ static int vpfe_pipeline_disable(struct vpfe_pipeline *pipe)
} }
mutex_unlock(&mdev->graph_mutex); mutex_unlock(&mdev->graph_mutex);
return (ret == 0) ? ret : -ETIMEDOUT ; return ret ? -ETIMEDOUT : 0;
} }
/* /*