[media] v4l: ov772x: simplify pointer dereference
commitc85bb69af09988f728aca825c11267c9d06ba32e
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 30 Dec 2010 11:37:06 +0000 (30 08:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 31 Dec 2010 00:29:23 +0000 (30 22:29 -0200)
tree37824018b8d3f8e493a06333810cfe4a7e718997
parent63c9718c1a4595d51f5b70ed4aed6cee5aea875b
[media] v4l: ov772x: simplify pointer dereference

Use a more direct way to obtain a pointer to struct ov772x_priv, where the
subdevice is available.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ov772x.c