zephyr/drivers/usb/device
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: usb: Add RP2040 USB device support. 2022-05-13 16:28:27 +02:00
Kconfig drivers: usb: device: stm32: fix disconnect-gpios configuration. 2022-05-19 11:28:38 -07:00
usb_dc_dw.c include: add more missing zephyr/ prefixes 2022-05-27 15:20:27 -07:00
usb_dc_kinetis.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
usb_dc_mcux.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
usb_dc_native_posix.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
usb_dc_native_posix_adapt.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
usb_dc_native_posix_adapt.h drivers: usb_dc_native_posix: read setup packet as part of submit struct 2021-03-24 15:02:49 +01:00
usb_dc_nrfx.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
usb_dc_rpi_pico.c drivers: usb: Add RP2040 USB device support. 2022-05-13 16:28:27 +02:00
usb_dc_sam0.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
usb_dc_sam_usbc.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
usb_dc_sam_usbhs.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
usb_dc_stm32.c drivers: usb: device: stm32: Use macros for frequencies 2022-07-04 18:07:06 +02:00
usb_dw_registers.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00