OSDN Git Service

staging: r8188eu: remove HW_VAR_H2C_FW_PWRMODE
authorMichael Straube <straube.linux@gmail.com>
Sat, 9 Apr 2022 12:06:27 +0000 (14:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2022 13:49:05 +0000 (15:49 +0200)
commit327ec68be709c7abe1bb8edd17e85b6653420eb1
treea0f0d676974dcc2d3a5635f91f9dc6e0d71cc313
parent7c05493bcfb522326867d99222a044a589272c0f
staging: r8188eu: remove HW_VAR_H2C_FW_PWRMODE

Remove the HW_VAR_H2C_FW_PWRMODE case from SetHwReg8188EU() and move
its functionality to a new function in rtw_pwrctrl.c. This is part of
the ongoing effort to get rid of the unwanted hal layer.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220409120627.10633-5-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_p2p.c
drivers/staging/r8188eu/core/rtw_pwrctrl.c
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/hal_intf.h
drivers/staging/r8188eu/include/rtw_pwrctrl.h