commit | 431b21fd407f4a76cdc182ee40184311562e5505 | [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 | f2eb6ad50a3e610897d6386bb3192c049dc6fd12 [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>