zephyr/subsys/usb/class
Ulf Magnusson 94a9342843 kconfig: subsys: usb: Remove redundant USB_DEVICE_STACK deps.
subsys/usb/Kconfig 'source's subsys/usb/class/Kconfig (which in turn
'source's subsys/usb/class/netusb/Kconfig) within an
'if USB_DEVICE_STACK', so the dependencies on USB_DEVICE_STACK added
within those files are redundant.

'if FOO' is just shorthand for adding 'depends on FOO' to each item
within the 'if'. Dependencies on menus work similarly. There are no
"conditional includes" in Kconfig, so 'if FOO' has no special meaning
around a source. Conditional includes wouldn't be possible, because an
if condition could include (directly or indirectly) forward references
to symbols not defined yet.

Tip: When adding a symbol, check its dependencies in the menuconfig
('ninja menuconfig', then / to jump to the symbol). The menuconfig also
shows how the file with the symbol got included, so if you see
duplicated dependencies, it's easy to hunt down where they come from.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-09 10:03:27 -05:00
..
hid doc: fix docs, include, and Kconfig misspellings 2019-02-28 09:32:12 +01:00
netusb kconfig: subsys: usb: Remove redundant USB_DEVICE_STACK deps. 2019-03-09 10:03:27 -05:00
bluetooth.c usb: Refactor usb_interface_config callback 2019-02-08 11:23:04 -05:00
cdc_acm.c usb: cdc_acm: Use new device data interface 2019-02-08 11:23:04 -05:00
CMakeLists.txt subsys: usb: class: add loopback function 2018-07-06 11:56:16 -05:00
Kconfig kconfig: subsys: usb: Remove redundant USB_DEVICE_STACK deps. 2019-03-09 10:03:27 -05:00
loopback.c usb: Refactor usb_interface_config callback 2019-02-08 11:23:04 -05:00
mass_storage.c usb: msc: Fix redeclaration of enumerators 2019-02-08 11:23:04 -05:00
usb_dfu.c usb: dfu: Signal completion of DFU 2019-03-08 08:35:59 -05:00