b43: Convert usage of b43_radio_maskset()
commit5f9724dd94d63e26edb02d9f6a4ce1ce35737f14
authorMichael Buesch <mb@bu3sch.de>
Fri, 20 Feb 2009 18:31:21 +0000 (20 19:31 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:52:53 +0000 (27 14:52 -0500)
tree1bdf6d93b958e92936581b6916cf47e29dbd9178
parent3718582a663e035af5d2634cd537a012e20cdb3f
b43: Convert usage of b43_radio_maskset()

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

The semantic patch that makes this change is as follows:

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

-b43_radio_write16(dev, addr, (b43_radio_read16(dev, addr) & mask) | set);
+b43_radio_maskset(dev, addr, mask, set);
// </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