2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 04:03:58 +08:00
linux-next/net/rfkill
Rusty Russell 3db1cd5c05 net: fix assignment of 0/1 to bool variables.
DaveM said:
   Please, this kind of stuff rots forever and not using bool properly
   drives me crazy.

Joe Perches <joe@perches.com> gave me the spatch script:

	@@
	bool b;
	@@
	-b = 0
	+b = false
	@@
	bool b;
	@@
	-b = 1
	+b = true

I merely installed coccinelle, read the documentation and took credit.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-12-19 22:27:29 -05:00
..
core.c net/rfkill/core.c: use kstrtoul, etc 2011-11-09 16:14:10 -05:00
input.c net: add moduleparam.h for users of module_param/MODULE_PARM_DESC 2011-10-31 19:30:29 -04:00
Kconfig net: rfkill: add generic gpio rfkill driver 2011-05-19 13:53:54 -04:00
Makefile net: rfkill: add generic gpio rfkill driver 2011-05-19 13:53:54 -04:00
rfkill-gpio.c net: rfkill: convert net/rfkill/* to use module_platform_driver() 2011-11-30 15:08:27 -05:00
rfkill-regulator.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
rfkill.h rfkill: rewrite 2009-06-03 14:06:13 -04:00