Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: rtl8723bs: remove named enums in rtw_pwrctrl.h

Remove the following unnecessary enum names in
include/rtw_pwrctrl.h:

enum Power_Mgnt
enum _PS_BBRegBackup_

Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210324124456.25221-13-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Marco Cesati and committed by
Greg Kroah-Hartman
21482161 67a1a97d

+2 -3
+2 -3
drivers/staging/rtl8723bs/include/rtw_pwrctrl.h
··· 31 31 #define BTCOEX_ALIVE BIT(4) 32 32 33 33 34 - enum Power_Mgnt { 34 + enum { 35 35 PS_MODE_ACTIVE = 0, 36 36 PS_MODE_MIN, 37 37 PS_MODE_MAX, ··· 124 124 #define RT_PCI_ASPM_OSC_ENABLE BIT0 /* PCI ASPM controlled by OS according to ACPI Spec 5.0 */ 125 125 #define RT_PCI_ASPM_OSC_DISABLE BIT1 /* PCI ASPM controlled by driver or BIOS, i.e., force enable ASPM */ 126 126 127 - 128 - enum _PS_BBRegBackup_ { 127 + enum { 129 128 PSBBREG_RF0 = 0, 130 129 PSBBREG_RF1, 131 130 PSBBREG_RF2,