summaryrefslogtreecommitdiff
path: root/drivers/staging/r8188eu/hal
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2021-10-07 12:39:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-10 14:56:42 +0200
commit17402cb6eabdefab44855d4604ec767741f7cd43 (patch)
tree7525f994dff053b86e0162d2d0aa229b15188ce5 /drivers/staging/r8188eu/hal
parent5c78a7583c62c299fd829df2dfbd14762057134a (diff)
staging: r8188eu: rename rtl8188eu_set_hal_ops()
After the removal of struct hal_ops function rtl8188eu_set_hal_ops() only allocates memory for adapt->HalData. Rename the function to rtl8188eu_alloc_haldata() to reflect what it actually does. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20211007103943.8433-6-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/hal')
-rw-r--r--drivers/staging/r8188eu/hal/usb_halinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/hal/usb_halinit.c b/drivers/staging/r8188eu/hal/usb_halinit.c
index 1110277d920e..94a2b3e32fe7 100644
--- a/drivers/staging/r8188eu/hal/usb_halinit.c
+++ b/drivers/staging/r8188eu/hal/usb_halinit.c
@@ -2091,7 +2091,7 @@ void rtl8188eu_init_default_value(struct adapter *adapt)
haldata->odmpriv.RFCalibrateInfo.ThermalValue_HP[i] = 0;
}
-void rtl8188eu_set_hal_ops(struct adapter *adapt)
+void rtl8188eu_alloc_haldata(struct adapter *adapt)
{
adapt->HalData = kzalloc(sizeof(struct hal_data_8188e), GFP_KERNEL);
if (!adapt->HalData)