linux/drivers/media/video/davinci
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
..
ccdc_hw_device.h V4L/DVB (12249): v4l: ccdc hw device header file for vpfe capture 2009-09-19 00:18:13 -03:00
dm355_ccdc.c V4L/DVB: vpfe-capture - converting dm355 ccdc driver to a platform driver 2010-02-26 15:10:45 -03:00
dm355_ccdc_regs.h V4L/DVB (12250): v4l: dm355 ccdc module for vpfe capture driver 2009-09-19 00:18:15 -03:00
dm644x_ccdc.c V4L/DVB: V4L: dm644x_ccdc: Add Suspend/Resume Support 2010-05-18 00:52:45 -03:00
dm644x_ccdc_regs.h V4L/DVB: V4L: dm644x_ccdc: Add Suspend/Resume Support 2010-05-18 00:52:45 -03:00
isif.c V4L/DVB: V4L - vpfe capture - source for ISIF driver on DM365 2010-02-26 15:11:06 -03:00
isif_regs.h V4L/DVB: Fix bad whitespacing 2010-05-18 00:47:01 -03:00
Kconfig V4L/DVB: vpfe_capture: Create separate Kconfig file for davinci devices 2010-08-02 15:30:36 -03:00
Makefile V4L/DVB: V4L - vpfe capture - build environment for isif driver 2010-02-26 15:11:06 -03:00
vpfe_capture.c V4L/DVB: vpfe_capture: convert to new mediabus API 2010-10-21 01:04:37 -02:00
vpif.c V4L/DVB (13607): vpif: move vpif_remove to .devexit 2009-12-16 00:18:37 -02:00
vpif.h V4L/DVB (12906d): V4L : vpif updates for DM6467 vpif capture driver 2009-09-19 00:19:40 -03:00
vpif_capture.c V4L/DVB: drivers/media/video: Adjust confusing if indentation 2010-10-21 01:04:48 -02:00
vpif_capture.h V4L/DVB (12906c): V4L : vpif capture driver for DM6467 2009-09-19 00:19:39 -03:00
vpif_display.c V4L/DVB: drivers/media/video: Adjust confusing if indentation 2010-10-21 01:04:48 -02:00
vpif_display.h
vpss.c V4L/DVB: V4L - vpfe capture - vpss driver enhancements for DM365 2010-02-26 15:11:06 -03:00