driver: minor code clean up to pass coverity scan test

This commit is contained in:
morris
2023-06-10 16:21:12 +08:00
parent 213504238f
commit 88600bd91b
21 changed files with 45 additions and 43 deletions
@@ -5,3 +5,4 @@ CONFIG_PARLIO_ISR_IRAM_SAFE=y
CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y
# silent the error check, as the error string are stored in rodata, causing RTL check failure
CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE=y