zephyr/subsys/usb/device
Roman Studenikin 260fc89643 drivers: use DT_INST_PROP over DT_INST_PROP_OR if possible
It might happens that DT(_INST)_PROP_OR is used with boolean properties.
For instance:

	.single_wire = DT_INST_PROP_OR(index, single_wire, false),	\
	.tx_rx_swap = DT_INST_PROP_OR(index, tx_rx_swap, false),	\

This is not required as boolean properties are generated with false
value when not present, so the _OR macro extension is superflous
and the above code can be replaced by:

	.single_wire = DT_INST_PROP(index, single_wire),		\
	.tx_rx_swap = DT_INST_PROP(index, tx_rx_swap),			\

Signed-off-by: Roman Studenikin <srv@meta.com>
2024-01-30 00:26:58 +00:00
..
class drivers: use DT_INST_PROP over DT_INST_PROP_OR if possible 2024-01-30 00:26:58 +00:00
bos.c usb: device: update logging module registration 2022-12-12 15:57:35 +01:00
CMakeLists.txt
Kconfig nrfx_usbd: Rename to nrf_usbd_common 2023-11-07 14:06:51 +01:00
os_desc.c usb: device: update logging module registration 2022-12-12 15:57:35 +01:00
os_desc.h
usb_descriptor.c iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
usb_descriptor.h include: add missing sys/slist.h include 2022-10-11 18:05:17 +02:00
usb_device.c drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
usb_transfer.c usb: device: Fix ZLP write race condition 2023-10-26 13:52:31 +02:00
usb_transfer.h usb: move USB device stack code to own directory 2022-03-31 18:30:14 +02:00
usb_work_q.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
usb_work_q.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00