b43: Convert usage of b43_phy_mask()
authorMichael Buesch <mb@bu3sch.de>
Fri, 20 Feb 2009 18:25:05 +0000 (19:25 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:52:52 +0000 (14:52 -0500)
commitac1ea3959f4c6694e92fe18a2ec72cfbed0c71fa
tree83467238eea281bcbacad41791e877167e6df8fc
parente59be0b5299ce327d67cfca737b839ef98e0da0e
b43: Convert usage of b43_phy_mask()

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

The semantic patch that makes this change is as follows:

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

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