staging: r8188eu: refactor field of struct odm_rf_cal
authorMichael Straube <straube.linux@gmail.com>
Sun, 29 Aug 2021 17:56:24 +0000 (19:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 06:49:44 +0000 (08:49 +0200)
commitb2ad8ba6300fbb1c295413a5b36e3a2a23933901
tree3d0a0f96dd6f9b8b3e3463d4bf080860ff2a66c3
parent3839c21e0c0d673c32b0403309016db45e09202b
staging: r8188eu: refactor field of struct odm_rf_cal

Refactor the field IQKMatrixRegSetting of struct odm_rf_cal to be not
an array. The driver is for chips that operate in the 2.4 GHz band only.
So only the first element of the array is used and there is no need for
an array.

Acked-by: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210829175624.5915-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/HalPhyRf_8188e.c
drivers/staging/r8188eu/include/odm.h