V4L/DVB (10080): soc-camera: readability improvements, more strict operations checks
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 18 Dec 2008 14:51:55 +0000 (11:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:40:21 +0000 (09:40 -0200)
commit64f5905ee74906643e22657bd20e2f11443053f0
tree17aaf01284c3297d835f3167098be9333df9b188
parent9414de39e8e07d90bdb6524be501fae0e013d37b
V4L/DVB (10080): soc-camera: readability improvements, more strict operations checks

Simplify multiple drivers by replacing f->fmt.pix.* with a single pointer
dereference, merge some needlessly broken lines, verify host and camera
operations pointers on registration.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mt9m001.c
drivers/media/video/mt9m111.c
drivers/media/video/mt9v022.c
drivers/media/video/pxa_camera.c
drivers/media/video/soc_camera.c
drivers/media/video/soc_camera_platform.c