]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitafef8921c724837ba98d33ee2d140a9a6494ebbc
tree8a61280594ff8f68df64b65de3907a20528b545c
parent06151c4795d860f8229073e030d59c5f5ac92ddf
[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