]> git.dujemihanovic.xyz Git - u-boot.git/commit
expo: Refactor menu_build() to return the object created
authorSimon Glass <sjg@chromium.org>
Mon, 14 Aug 2023 22:40:24 +0000 (16:40 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 25 Aug 2023 17:54:33 +0000 (13:54 -0400)
commit431b21fd407f4a76cdc182ee40184311562e5505
tree99ef63aabd3648b7448c17803aacb331100ece95
parentf2eb6ad50a3e610897d6386bb3192c049dc6fd12
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>
boot/expo_build.c