kernel-fxtec-pro1x/drivers/media/video/cx23885
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
..
cimax2.c V4L/DVB: configurable IRQ from CAM 2010-05-18 00:46:42 -03:00
cimax2.h V4L/DVB (10798): Add CIMax(R) SP2 Common Interface code for NetUP Dual DVB-S2 CI card 2009-03-30 12:43:04 -03:00
cx23885-417.c V4L/DVB: cx23885: strcpy() => strlcpy() 2010-05-19 12:56:41 -03:00
cx23885-av.c V4L/DVB: cx23885: Move AV Core irq handling to a work handler 2010-08-08 23:42:56 -03:00
cx23885-av.h V4L/DVB: cx23885: Move AV Core irq handling to a work handler 2010-08-08 23:42:56 -03:00
cx23885-cards.c V4L/DVB: cx23885: Require user to explicitly enable CX2388[57] IR via module param 2010-08-08 23:42:56 -03:00
cx23885-core.c V4L/DVB: cx23885: Move AV Core irq handling to a work handler 2010-08-08 23:42:56 -03:00
cx23885-dvb.c V4L/DVB: Fix kernel Oops when number of NetUP Dual DVB-S2-CI cards more than DVB_MAX_ADAPTERS limit 2010-08-02 14:52:54 -03:00
cx23885-f300.c V4L/DVB (13493): TeVii S470 and TBS 6920 fixes 2009-12-05 18:42:08 -02:00
cx23885-f300.h V4L/DVB (13493): TeVii S470 and TBS 6920 fixes 2009-12-05 18:42:08 -02:00
cx23885-i2c.c V4L/DVB: Use custom I2C probing function mechanism 2010-08-11 18:20:57 +02:00
cx23885-input.c V4L/DVB: cx23885, cx25840: Change IR measurment records to use struct ir_raw_event 2010-08-08 23:42:56 -03:00
cx23885-input.h V4L/DVB: cx18, cx23885, v4l2 doc, MAINTAINERS: Update Andy Walls' email address 2010-06-01 01:24:29 -03:00
cx23885-ioctl.c V4L/DVB: cx18, cx23885, v4l2 doc, MAINTAINERS: Update Andy Walls' email address 2010-06-01 01:24:29 -03:00
cx23885-ioctl.h V4L/DVB: cx18, cx23885, v4l2 doc, MAINTAINERS: Update Andy Walls' email address 2010-06-01 01:24:29 -03:00
cx23885-ir.c V4L/DVB: cx23885: Move AV Core irq handling to a work handler 2010-08-08 23:42:56 -03:00
cx23885-ir.h V4L/DVB: cx18, cx23885, v4l2 doc, MAINTAINERS: Update Andy Walls' email address 2010-06-01 01:24:29 -03:00
cx23885-reg.h V4L/DVB: cx23885: Add preliminary IR Rx support for the HVR-1250 and TeVii S470 2010-08-08 23:42:55 -03:00
cx23885-vbi.c V4L/DVB: cx23885: Protect PCI interrupt mask manipulations with a spinlock 2010-08-08 23:42:55 -03:00
cx23885-video.c V4L/DVB: drivers/media/video: Adjust confusing if indentation 2010-10-21 01:04:48 -02:00
cx23885.h V4L/DVB: cx23885: Move AV Core irq handling to a work handler 2010-08-08 23:42:56 -03:00
cx23888-ir.c V4L/DVB: cx23885, cx25840: Change IR measurment records to use struct ir_raw_event 2010-08-08 23:42:56 -03:00
cx23888-ir.h V4L/DVB: cx18, cx23885, v4l2 doc, MAINTAINERS: Update Andy Walls' email address 2010-06-01 01:24:29 -03:00
Kconfig V4L/DVB: Fix IR_CORE dependencies 2010-08-12 15:07:48 -03:00
Makefile V4L/DVB: cx23885: Move AV Core irq handling to a work handler 2010-08-08 23:42:56 -03:00
netup-eeprom.c V4L/DVB (12957): Fix MAC address reading from EEPROM in NetUP Dual DVB-S2 CI card. 2009-09-19 00:15:49 -03:00
netup-eeprom.h V4L/DVB (10797): Add EEPROM code for NetUP Dual DVB-S2 CI card. 2009-03-30 12:43:04 -03:00
netup-init.c V4L/DVB (10796): Add init code for NetUP Dual DVB-S2 CI card 2009-03-30 12:43:04 -03:00
netup-init.h V4L/DVB (10796): Add init code for NetUP Dual DVB-S2 CI card 2009-03-30 12:43:04 -03:00