af4527e131
For code clarity, this commit adjusts the use of `return` statements in functions with a void return type as follows: - Transform `return foo();` into separate statements: `foo();` `return;` - Remove unnecessary `return` statements when they don't affect control flow. Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
ec_host_cmd_backend_espi.c | ||
ec_host_cmd_backend_shi.h | ||
ec_host_cmd_backend_shi_ite.c | ||
ec_host_cmd_backend_shi_npcx.c | ||
ec_host_cmd_backend_simulator.c | ||
ec_host_cmd_backend_spi_stm32.c | ||
ec_host_cmd_backend_uart.c |