kconfig: rename menu_get_parent_menu() to menu_get_menu_or_parent_menu()
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 24 Jun 2025 15:04:52 +0000 (00:04 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 30 Jun 2025 03:52:58 +0000 (12:52 +0900)
commit3c292cd0047c8758a2db7a44e441314e78b4db00
tree5e62b5ae6a6a02b6f861ec6066422f71863c070f
parent604f5b2127fb76e15dcc6dabbd73b541817a2fba
kconfig: rename menu_get_parent_menu() to menu_get_menu_or_parent_menu()

The current menu_get_parent_menu() does not always return the parent
menu; if the given argument is itself a menu, it returns that menu.

Rename this function to better reflect this behavior.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
scripts/kconfig/conf.c
scripts/kconfig/lkc.h
scripts/kconfig/menu.c
scripts/kconfig/qconf.cc