1
0
Fork 0
alistair23-linux/drivers/staging/media/mn88472
Eva Rachel Retuya 4a1e81bc5d staging: [media] mn88472: simplify NULL tests
Replace direct comparisons to NULL i.e. 'x == NULL' with '!x' for
consistency. Coccinelle semantic patch used:

@@
identifier func;
expression x;
statement Z;
@@

x = func(...);

if (
(
+	!
	x
-	== NULL
|
+	!
-	NULL ==
	x
)
   ) Z

Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-11 22:09:09 -08:00
..
Kconfig
Makefile
TODO
mn88472.c staging: [media] mn88472: simplify NULL tests 2016-03-11 22:09:09 -08:00
mn88472_priv.h [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00