Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 6e6d0e91 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: use menu_list_for_each_sym() in sym_choice_default()


Choices and their members are associated via the P_CHOICE property.

Currently, sym_get_choice_prop() and expr_list_for_each_sym() are
used to iterate on choice members.

Replace them with menu_for_each_sub_entry(), which achieves the same
without relying on P_CHOICE.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent e8fcd915
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment