]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: rtl8723ae: Clean up the hardware info routine
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 5 Jul 2016 15:08:15 +0000 (10:08 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Jul 2016 13:50:04 +0000 (16:50 +0300)
commit5ad44bd50f341b64dbaca803ef641512ac4810fd
tree13218105fc9b5a62bf49b5930eb45aa819b1dcfd
parentd7a3b6995b590d8fe71f660b3e4c172e023b14b1
rtlwifi: rtl8723ae: Clean up the hardware info routine

This driver contains some complicated if ... else if ... else constructions.
These are replaced by switch statements to improve readability.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c