style code view sensor redundant type conversion

Signed-off-by: sunxuejiao <sunxuejiao5@huawei.com>
This commit is contained in:
sunxuejiao
2022-03-22 10:36:45 +08:00
parent eeb36a12a8
commit 6022e83a58
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -477,7 +477,7 @@ void ReleaseLightDriver(struct HdfDeviceObject *device)
HdfWorkDestroy(&drvData->work);
HdfWorkQueueDestroy(&drvData->workQueue);
(void)OsalMutexDestroy(&drvData->mutex);
(void)OsalMemFree(drvData);
OsalMemFree(drvData);
g_lightDrvData = NULL;
}
@@ -306,7 +306,7 @@ void ReleaseVibratorDriver(struct HdfDeviceObject *device)
(void)DestroyVibratorHaptic();
(void)OsalMutexDestroy(&drvData->mutex);
(void)OsalMemFree(drvData);
OsalMemFree(drvData);
g_vibratorDrvData = NULL;
}