]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8xxxu: Split rtl8xxxu_init_phy_bb() into device specific functions
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 14 Apr 2016 18:58:57 +0000 (14:58 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 15 Apr 2016 18:36:38 +0000 (21:36 +0300)
commita4d296003b18363ef11ccb50fc4d7455df933a0d
treeb87b810e76740d665ccfe1d81977babe22776306
parent225f61da884f7a964d07e99705b7105c56d6b2d1
rtl8xxxu: Split rtl8xxxu_init_phy_bb() into device specific functions

This reduces the if () clutter. Longer term it probably makes sense to
split this between gen1 (8723au/8188cu/8192cu) and gen2
(8192eu/8723bu) devices.

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