b43: don't duplicate common PHY read/write ops
authorRafał Miłecki <zajec5@gmail.com>
Thu, 31 Jul 2014 19:59:43 +0000 (21:59 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Aug 2014 20:00:42 +0000 (16:00 -0400)
commitd342b95dd735014a590f9051b1ba227eb54ca8f6
tree2be91cea3fcb03b371882188b50236eac8c51820
parent6247d2aa5188ac0ace33d8390341075c04107218
b43: don't duplicate common PHY read/write ops

Most of the PHYs use the same way of accessing registers, so move that
code to the shared place. An exception is G-PHY which sometimes access
A-PHY regs and requires special handling.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_common.c
drivers/net/wireless/b43/phy_ht.c
drivers/net/wireless/b43/phy_lcn.c
drivers/net/wireless/b43/phy_lp.c
drivers/net/wireless/b43/phy_n.c