linux/drivers/media/video/cx88
Julia Lawall 473d802473 V4L/DVB: drivers/media/video: Adjust confusing if indentation
In cx23885/cx23885-video.c, cx88/cx88-video.c, davinci/vpif_capture.c, and
davinci/vpif_display.c, group the aligned code into a single if branch.

In saa7134/saa7134-video.c, outdent the code following the if.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r disable braces4@
position p1,p2;
statement S1,S2;
@@

(
if (...) { ... }
|
if (...) S1@p1 S2@p2
)

@script:python@
p1 << r.p1;
p2 << r.p2;
@@

if (p1[0].column == p2[0].column):
  cocci.print_main("branch",p1)
  cocci.print_secs("after",p2)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-10-21 01:04:48 -02:00
..
cx88-alsa.c V4L/DVB: drivers/media: Remove unnecessary casts of private_data 2010-08-02 16:42:53 -03:00
cx88-blackbird.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cx88-cards.c V4L/DVB: cx88: Let the user disable IR support 2010-08-02 15:32:41 -03:00
cx88-core.c V4L/DVB: videobuf: Remove the videobuf_sg_dma_map/unmap functions 2010-08-02 15:21:45 -03:00
cx88-dsp.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cx88-dvb.c V4L/DVB: cx88-dvb: fix on switch identation 2010-05-19 12:56:41 -03:00
cx88-i2c.c V4L/DVB: Use custom I2C probing function mechanism 2010-08-11 18:20:57 +02:00
cx88-input.c V4L/DVB: ir-core: partially convert cx88 to not use ir-functions.c 2010-08-02 14:53:45 -03:00
cx88-mpeg.c V4L/DVB: cx88: fix setting input when using DVB 2010-05-19 12:58:27 -03:00
cx88-reg.h V4L/DVB (6066): cx88-alsa: Change order of interrupt enabling, fix spurious IRQs 2007-10-09 22:05:55 -03:00
cx88-tvaudio.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cx88-vbi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cx88-video.c V4L/DVB: drivers/media/video: Adjust confusing if indentation 2010-10-21 01:04:48 -02:00
cx88-vp3054-i2c.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cx88-vp3054-i2c.h V4L/DVB (5629): Cx88: VP3054 support can't be a module when cx88 is compiled in 2007-07-18 14:23:11 -03:00
cx88.h V4L/DVB: cx88: Move I2C IR initialization 2010-08-02 15:32:25 -03:00
Kconfig V4L/DVB: cx88: Kconfig: Remove EXPERIMENTAL dependency from VIDEO_CX88_ALSA 2010-09-27 22:21:44 -03:00
Makefile V4L/DVB (11394): cx88: Add support for stereo and sap detection for A2 2009-06-16 19:14:17 -03:00