zephyr/drivers/led_strip
Simon Hein d0921018fc drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks
MISRA C:2012 Rule 14.4 (The controlling expression of an if statement
and the controlling expression of an iteration-statement shall have
essentially Boolean type.)

Use `do { ... } while (false)' instead of `do { ... } while (0)'.
Use comparisons with zero instead of implicitly testing integers.

The commit is a subset of the original auditable-branch commit:
5d02614e34

Signed-off-by: Simon Hein <SHein@baumer.com>
2022-07-26 15:30:24 -04:00
..
CMakeLists.txt drivers: led_strip: add tlc5971 driver 2022-03-23 12:50:11 +01:00
Kconfig drivers: led_strip: add tlc5971 driver 2022-03-23 12:50:11 +01:00
Kconfig.apa102 kconfig: Global whitespace/consistency cleanup 2019-11-01 15:53:23 +01:00
Kconfig.lpd880x kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.tlc5971 drivers: led_strip: add tlc5971 driver 2022-03-23 12:50:11 +01:00
Kconfig.ws2812 kconfig: tweak Kconfig prompts 2022-03-09 15:35:54 +01:00
apa102.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
lpd880x.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
tlc5971.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
ws2812_gpio.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
ws2812_spi.c drivers: led_strip: ws2812: allow settings cpol and cpha 2022-06-28 16:50:26 +02:00