]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[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>
Fri, 1 Jul 2011 23:13:43 +0000 (20:13 -0300)
commit9a3e856968a42475e55c0f5a9cf7f0019d1c3649
treeeb5762cce3793591c4d26c5b85566c112039e4c1
parente72740c4e39abd127feed84ec123c6d98e51b83e
[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