v4l2/mt9m114: remove dead code and adjust comments
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Fri, 20 Jan 2012 22:35:01 +0000 (14:35 -0800)
committerbuildbot <buildbot@intel.com>
Mon, 27 Feb 2012 10:57:37 +0000 (02:57 -0800)
commit57dde0e9135c07d3ab09e52aed52b73e23c558f6
treed97ae244d6e725d3fa62e8117611644d2ac64d74
parent045bc77f3f2c7f290341e55a5bf22dfe69ff91a1
v4l2/mt9m114: remove dead code and adjust comments

BZ: 24612

The mt9m114_poll_awhile() function is not used anywhere starting from at least
r2 branch. This patch removes it completely.

Comments related to mt9m114_write_reg_array() are moved closely to the
implementation.

Change-Id: Ie29dc1cc3187e00d705dbbd498f0c6d58faa9abc
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Acked-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Acked-by: David Cohen <david.a.cohen@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/36090
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/media/video/mt9m114.c