kernel-fxtec-pro1x/drivers/net/wireless/p54
Joe Perches 2e42e4747e drivers/net: Convert compare_ether_addr to ether_addr_equal
Use the new bool function ether_addr_equal to add
some clarity and reduce the likelihood for misuse
of compare_ether_addr for sorting.

Done via cocci script:

$ cat compare_ether_addr.cocci
@@
expression a,b;
@@
-	!compare_ether_addr(a, b)
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	compare_ether_addr(a, b)
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!ether_addr_equal(a, b) == 0
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!ether_addr_equal(a, b) != 0
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	ether_addr_equal(a, b) == 0
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	ether_addr_equal(a, b) != 0
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!!ether_addr_equal(a, b)
+	ether_addr_equal(a, b)

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-05-10 23:33:01 -04:00
..
eeprom.c drivers/net: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:08 -04:00
eeprom.h p54: enhance rssi->dBm database import 2011-02-14 15:52:10 -05:00
fwio.c drivers/net: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:08 -04:00
Kconfig p54spi: Update kconfig help text 2011-03-07 13:51:04 -05:00
led.c drivers/net/wireless: Restore upper case words in wiphy_<level> messages 2010-08-18 16:37:44 -04:00
lmac.h p54: implement multicast filter 2011-04-26 15:50:30 -04:00
main.c p54: only unregister ieee80211_hw when it has been registered 2012-04-09 16:07:35 -04:00
Makefile
net2280.h
p54.h p54: only unregister ieee80211_hw when it has been registered 2012-04-09 16:07:35 -04:00
p54pci.c net/wireless: use module_pci_driver 2012-04-16 14:38:50 -04:00
p54pci.h net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
p54spi.c p54spi: Release GPIO lines and IRQ on error in p54spi_probe 2012-03-05 15:23:17 -05:00
p54spi.h
p54spi_eeprom.h p54spi: update sample eeprom 2011-02-14 15:52:10 -05:00
p54usb.c drivers/net: add missing __devexit_p() annotations 2012-04-21 15:28:47 -04:00
p54usb.h p54usb: Load firmware asynchronously 2012-04-09 16:07:35 -04:00
txrx.c drivers/net: Convert compare_ether_addr to ether_addr_equal 2012-05-10 23:33:01 -04:00