[media] V4L: mt9m111: propagate higher level abstraction down in functions
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 7 Jun 2011 09:47:30 +0000 (06:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:53:22 +0000 (17:53 -0300)
commit2768cbbba3a131e5f483832ff0ff75d97392caa8
tree2692a45431b24c0e8d512c8277798b627a220591
parentb7ccdba02aaa5100eec85d41c56c37c78d3ab407
[media] V4L: mt9m111: propagate higher level abstraction down in functions

It is more convenient to propagate the higher level abstraction - the
struct mt9m111 object into functions and then retrieve a pointer to
the i2c client, if needed, than to do the reverse.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mt9m111.c