b43: Convert usage of b43_phy_set()
authorMichael Buesch <mb@bu3sch.de>
Fri, 20 Feb 2009 18:22:36 +0000 (19:22 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:52:52 +0000 (14:52 -0500)
commite59be0b5299ce327d67cfca737b839ef98e0da0e
treec85dc5b69d3bdeb1641ebfc7c6cd2ca67d8c143d
parent9b02f419a7dbd956b2c293e5cb1790b6b687f367
b43: Convert usage of b43_phy_set()

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

The semantic patch that makes this change is as follows:

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

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