[media] media: ov6650: stylistic improvements
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Mon, 12 Sep 2011 11:25:25 +0000 (08:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 3 Nov 2011 20:29:06 +0000 (18:29 -0200)
commit2e56d933fd967a72d5ee4250e1cb6f9de29d936f
tree8a61280594ff8f68df64b65de3907a20528b545c
parent171f1a48bb3f95e3ecb37ecd6e8577118d601460
[media] media: ov6650: stylistic improvements

* with no "retrun ret;" at the end, there is no need to initialize ret
  any longer,
* consequently use conditional expressions, not if...else constructs,
  throughout ov6650_s_ctrl(),
* v4l2_ctrl_new_std_menu() max value of V4L2_EXPOSURE_MANUAL instead of
  equivalent 1 looks more clear.

Created on top of "Converting soc_camera to the control framework"
series.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ov6650.c