kconfig: remove SYMBOL_CHOICE flag
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 22 Apr 2024 16:10:54 +0000 (01:10 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 2 May 2024 10:48:26 +0000 (19:48 +0900)
commit1da251c60def5df1475ed5e8670d7ba2b6a33983
tree4d4cec5f37f6894f0f3fe83e1b64d28f876da628
parent2b1ab140506822dfc4711be08ea46fb4a83bf1ea
kconfig: remove SYMBOL_CHOICE flag

All symbols except choices have a name.

Previously, choices were allowed to have a name, but commit c83f020973bc
("kconfig: remove named choice support") eliminated that possibility.

Now, it is easy to distinguish choices from normal symbols; if the name
is NULL, it is a choice.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <n.schier@avm.de>
scripts/kconfig/confdata.c
scripts/kconfig/expr.h
scripts/kconfig/gconf.c
scripts/kconfig/lkc.h
scripts/kconfig/parser.y
scripts/kconfig/symbol.c