diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-03-03 13:00:34 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-03-09 15:04:22 +0900 |
commit | bedf92362317adff1da6ac787b09626d30e60b00 (patch) | |
tree | 7ce20daf62aadb9eb7385235c72473f28d9a25c3 /drivers/hwmon | |
parent | e0492219a6d752942b054cbfbbcbc1e8ab294d26 (diff) | |
download | linux-stable-bedf92362317adff1da6ac787b09626d30e60b00.tar.gz linux-stable-bedf92362317adff1da6ac787b09626d30e60b00.tar.bz2 linux-stable-bedf92362317adff1da6ac787b09626d30e60b00.zip |
kconfig: use linked list in get_symbol_str() to iterate over menus
Currently, get_symbol_str() uses a tricky approach to traverse the
associated menus.
With relevant menus now linked to the symbol using a linked list,
use list_for_each_entry() for iterating on the menus.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions