rtlwifi: Create common routine to get hardware info
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 5 Jul 2016 15:08:06 +0000 (10:08 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Jul 2016 13:50:00 +0000 (16:50 +0300)
commitedb45b67a09d1be4b7b8a33922a0f3934f3e23fa
tree11608bfa85f3318e757edafb815139accd44b098
parent5781fc29dbbd3ee5e11c1bf4fa6696ae89d19840
rtlwifi: Create common routine to get hardware info

All of the rtlwifi family of drivers have a similar routine that acquires
the hardware info from efuse and initializes a number of variables in the
driver's private area. A common routine is created for all drivers to use.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/efuse.c
drivers/net/wireless/realtek/rtlwifi/efuse.h