staging: rtl8188eu: remove struct eeprom_priv's EepromOrEfuse
authorMartin Kaiser <martin@kaiser.cx>
Sun, 18 Jul 2021 17:36:05 +0000 (19:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 08:31:22 +0000 (10:31 +0200)
commit264d3064642d1125c5e8fd15d7f60f0639607983
tree47d472f978fcdffbc3afac22d3b4e894f2fdb3e8
parenta9dc3f67dcff95864fcc4140b9d478c9135db300
staging: rtl8188eu: remove struct eeprom_priv's EepromOrEfuse

This setting is used only in one place. There's no need to store it
in a global struct.

While at it, merge the two-line Hal_InitPGData88E function and its
only caller.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210718173610.894-5-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
drivers/staging/rtl8188eu/hal/usb_halinit.c
drivers/staging/rtl8188eu/include/hal_intf.h
drivers/staging/rtl8188eu/include/rtl8188e_hal.h