]> www.infradead.org Git - users/hch/xfs.git/commit
kconfig: use sym_get_choice_menu() in conf_write_defconfig()
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 4 May 2024 18:33:29 +0000 (03:33 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 9 May 2024 19:34:53 +0000 (04:34 +0900)
commitfb8dd48214b0234ba03a808742f69690d9a9f500
tree0d1c9f787f031a673e1d9209ac581497f48d1682
parent7bcf2e03b50256d13bcc1b08a43af9762bafbc0e
kconfig: use sym_get_choice_menu() in conf_write_defconfig()

Choices and their members are associated via the P_CHOICE property.

Currently, prop_get_symbol(sym_get_choice_prop()) is used to obtain
the choice of the given choice member.

Replace it with sym_get_choice_menu(), which retrieves the choice
without relying on P_CHOICE.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/confdata.c