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)
commit238ad2ddf34bb3cd13f0f86c0d1b112bf9ef43ac
tree13218105fc9b5a62bf49b5930eb45aa819b1dcfd
parenta8c9fb2b82ab00fad8992131c105387429e296ff
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