staging: r8188eu: merge EFUSE_ShadowMapUpdate with its caller
authorMartin Kaiser <martin@kaiser.cx>
Sat, 9 Jul 2022 17:09:50 +0000 (19:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Jul 2022 08:06:45 +0000 (10:06 +0200)
commit14dbcfc4c9368d3a45db0d2d94f6b23708c72bf5
tree4495f16ae8a307b32b60a24c84c2450fc911ed0c
parent1c4d6546c3a4ee20e2f5ba525e35e779614954c8
staging: r8188eu: merge EFUSE_ShadowMapUpdate with its caller

Merge the EFUSE_ShadowMapUpdate function into ReadAdapterInfo8188EU, which
is the only caller.

Merging the two functions makes it clearer that eeprom->efuse_eeprom_data
is in fact a temporary buffer that stores info read from efuses.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220709171000.180481-5-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_efuse.c
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/rtw_efuse.h