diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2019-12-11 16:38:57 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-17 16:24:13 +0100 |
commit | 10e5e6c2496354f0afec82dba459339c421badbf (patch) | |
tree | 1c0d13cf9f5cf68139281460e064c2368a242630 /drivers/uio/uio_hv_generic.c | |
parent | fcc84698291203f6588598be417b3ac58d2561d3 (diff) | |
download | linux-10e5e6c2496354f0afec82dba459339c421badbf.tar.bz2 |
usb: gadget: move choice ... endchoice to legacy/Kconfig
drivers/usb/gadget/Kconfig includes drivers/usb/gadget/legacy/Kconfig
inside the 'choice' block. The current Kconfig allows this, but I'd
like to discourage this usage.
People tend to mess up the structure without noticing that entire
drivers/usb/gadget/legacy/Kconfig is placed in the choice context.
In fact, legacy/Kconfig mixes up bool and tristate in the choice,
and creates nested choice, etc.
This commit does not change the behavior, but it will help people
notice how badly this Kconfig file is written.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20191211073857.16780-1-masahiroy@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uio/uio_hv_generic.c')
0 files changed, 0 insertions, 0 deletions