staging: rtl8188eu: move hal/mac_cfg.c and rename function and array
authorPhillip Potter <phil@philpotter.co.uk>
Tue, 20 Jul 2021 22:58:26 +0000 (23:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 08:31:22 +0000 (10:31 +0200)
commit552fd002bdb520af3a8bedf1ee36185cf5e2c52f
tree88c449f510632a5c2287d5514a9aba6a643a1666
parent8655e695ac648287c432e2048a73decc552b019c
staging: rtl8188eu: move hal/mac_cfg.c and rename function and array

Move source file hal/mac_cfg.c to the 'core' driver directory, and also
rename its array from array_MAC_REG_8188E to array_MAC_REG, as well as
renaming the function rtl88eu_phy_mac_config to phy_mac_config. Also
modify single call-site for this function to reflect new name.

This file contains no code which touches the adapter's HalData structure,
and is a good candidate for therefore moving out of 'hal'. Also, no
need for these signatures to include the model number as this driver
only supports RTL8188eu.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210720225826.454516-1-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/Makefile
drivers/staging/rtl8188eu/core/mac_cfg.c [moved from drivers/staging/rtl8188eu/hal/mac_cfg.c with 93% similarity]
drivers/staging/rtl8188eu/hal/usb_halinit.c
drivers/staging/rtl8188eu/include/phy.h