b43: Convert usage of b43_radio_set()
commit4cf507696ae41950cd430e7534180fddd624b3cd
authorMichael Buesch <mb@bu3sch.de>
Fri, 20 Feb 2009 18:28:14 +0000 (20 19:28 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:52:53 +0000 (27 14:52 -0500)
tree6cb514d5ad42f016c4739066b709a93852a66621
parent76e190cd4b3b9e79096df153edb04092433a797b
b43: Convert usage of b43_radio_set()

This patch converts code to use the new b43_radio_set() API.

The semantic patch that makes this change is as follows:

// <smpl>
@@
expression dev, addr, set;
@@

-b43_radio_write16(dev, addr, b43_radio_read16(dev, addr) | set);
+b43_radio_set(dev, addr, set);
// </smpl>

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_a.c
drivers/net/wireless/b43/phy_g.c
drivers/net/wireless/b43/wa.c