This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#12: FILE: ./hal/odm_DynamicBBPowerSaving.c:12:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#25: FILE: ./hal/odm_DynamicBBPowerSaving.c:25:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210315170618.2566-25-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
void odm_DynamicBBPowerSavingInit(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
struct PS_T *pDM_PSTable = &pDM_Odm->DM_PSTable;
pDM_PSTable->PreCCAState = CCA_MAX;
void ODM_RF_Saving(void *pDM_VOID, u8 bForceInNormal)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
struct PS_T *pDM_PSTable = &pDM_Odm->DM_PSTable;
u8 Rssi_Up_bound = 30;
u8 Rssi_Low_bound = 25;