mpc83xx: gazerbeam: Update sysinfo_get error handling
authorMichal Suchanek <msuchanek@suse.de>
Wed, 12 Oct 2022 19:58:04 +0000 (21:58 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Oct 2022 03:17:12 +0000 (21:17 -0600)
commit7b2aa218c7f642f1b60ea99cbaa62ed1c45f4d21
tree2b944e0f9daebfe2abb0cee66b83c5e244893c72
parent0736f7aa3b044bef9dc756902608133843696ed8
mpc83xx: gazerbeam: Update sysinfo_get error handling

In a later patch sysinfo_get will be changed to return the device in cae
of an error. Set sysinfo to NULL on error to preserve previous behavior.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/gdsys/mpc8308/gazerbeam.c