b43: Convert usage of b43_radio_mask()
authorMichael Buesch <mb@bu3sch.de>
Fri, 20 Feb 2009 18:30:10 +0000 (19:30 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:52:53 +0000 (14:52 -0500)
commit3718582a663e035af5d2634cd537a012e20cdb3f
treea0f8656edeecd293cfc454c03454e8a1ed46b678
parent4cf507696ae41950cd430e7534180fddd624b3cd
b43: Convert usage of b43_radio_mask()

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

The semantic patch that makes this change is as follows:

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

-b43_radio_write16(dev, addr, b43_radio_read16(dev, addr) & mask);
+b43_radio_mask(dev, addr, mask);
// </smpl>

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