linux/drivers/media/pci/saa7164
Amitoj Kaur Chawla 2aefee05aa [media] saa7164: Replace if and BUG with BUG_ON
Replace if condition and BUG() with a BUG_ON having the conditional
expression of the if statement as argument.

The Coccinelle semantic patch used to make this change is as follows:
@@ expression E,f; @@

(
  if (<+... f(...) ...+>) { BUG(); }
|
- if (E) { BUG(); }
+ BUG_ON(E);
)

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-07-08 16:16:54 -03:00
..
Kconfig [media] saa7164: remove unused videobuf references 2015-10-01 08:25:06 -03:00
Makefile
saa7164-api.c [media] saa7164: Improvements for I2C handling" 2015-06-10 11:46:03 -03:00
saa7164-buffer.c [media] saa7164: Copyright update 2015-05-01 07:22:48 -03:00
saa7164-bus.c [media] saa7164: Copyright update 2015-05-01 07:22:48 -03:00
saa7164-cards.c [media] saa7164: change Si2168 reglen to 0 bit 2015-06-10 11:44:44 -03:00
saa7164-cmd.c [media] saa7164: Copyright update 2015-05-01 07:22:48 -03:00
saa7164-core.c various: fix pci_set_dma_mask return value checking 2015-11-20 16:17:32 -08:00
saa7164-dvb.c [media] si2157: support selection of IF interface 2015-05-12 13:20:55 -03:00
saa7164-encoder.c [media] saa7164: Replace if and BUG with BUG_ON 2016-07-08 16:16:54 -03:00
saa7164-fw.c [media] saa7164: Copyright update 2015-05-01 07:22:48 -03:00
saa7164-i2c.c [media] saa7164: fix sparse warning 2015-05-30 11:22:34 -03:00
saa7164-reg.h [media] saa7164: Copyright update 2015-05-01 07:22:48 -03:00
saa7164-types.h [media] saa7164: Copyright update 2015-05-01 07:22:48 -03:00
saa7164-vbi.c [media] saa7164: video and vbi ports share the same input/tuner/std 2015-10-01 08:26:53 -03:00
saa7164.h [media] saa7164: video and vbi ports share the same input/tuner/std 2015-10-01 08:26:53 -03:00