OSDN Git Service

rtl8xxxu: Move PHY RF init into device specific functions
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 14 Apr 2016 20:37:08 +0000 (16:37 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 15 Apr 2016 18:38:04 +0000 (21:38 +0300)
commit4062b8ffec36df80d808d3bc3352e0f9c9abd3de
tree1ec4c9d5914c49ae70ac3c44b01c3d607c44d8f4
parent37ba4b6265ea0aa6c3369e4cf736ecbac31c40c9
rtl8xxxu: Move PHY RF init into device specific functions

Load the RF table in init_phy_rf(), which allows for applying device
specific RF hacks in the same place. Getting rid of more ugly if ()
clutter.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h