commit | 50b1e34c0cd283b060337c491014800dd2567475 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Aug 14 16:40:24 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Fri Aug 25 13:54:33 2023 -0400 |
tree | 99ef63aabd3648b7448c17803aacb331100ece95 | |
parent | e90acd861c65c8442999958217df87c130719529 [diff] |
expo: Refactor menu_build() to return the object created The caller reads the ID but menu_build() does this again. Add the ID as a parameter to avoid this. Return the object created so that the caller can adjust it. Signed-off-by: Simon Glass <sjg@chromium.org>