b43: Convert usage of b43_phy_maskset()
authorMichael Buesch <mb@bu3sch.de>
Fri, 20 Feb 2009 18:26:27 +0000 (19:26 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:52:52 +0000 (14:52 -0500)
commit76e190cd4b3b9e79096df153edb04092433a797b
treed9235b56b77e4272db32affaf39950e08c56ade8
parentac1ea3959f4c6694e92fe18a2ec72cfbed0c71fa
b43: Convert usage of b43_phy_maskset()

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

The semantic patch that makes this change is as follows:

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

-b43_phy_write(dev, addr, (b43_phy_read(dev, addr) & mask) | set);
+b43_phy_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/phy_a.c
drivers/net/wireless/b43/phy_g.c
drivers/net/wireless/b43/wa.c