kconfig: use sym_get_choice_menu() in sym_check_prop()
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 13 May 2024 23:31:42 +0000 (08:31 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 15 May 2024 18:18:41 +0000 (03:18 +0900)
commit6ffe4fdf8901dc0a15d7278531503ecd4522ae15
tree9fdcf5e2b6b30bd4761a74fb19a5fef4e9a3c4ba
parentbfb57ef0544ae6f67bf83430aa0bb877897da783
kconfig: use sym_get_choice_menu() in sym_check_prop()

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/menu.c