[PATCH 1/2] board-info: Use sysinfo_get()
Simon Glass
sjg at chromium.org
Mon Jul 5 17:29:54 CEST 2021
On Sun, 4 Jul 2021 at 13:32, Marek Vasut <marek.vasut at gmail.com> wrote:
>
> Replace uclass_first_device_err(UCLASS_SYSINFO, &dev) with sysinfo_get(&dev).
> The board_info code may use sysinfo to print board information, so use the
> sysinfo functions consistently. The sysinfo_get() is internally implemented
> as return uclass_first_device_err(UCLASS_SYSINFO, &dev) anyway, so there is
> no functional change.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
> Cc: Marcel Ziswiler <marcel.ziswiler at toradex.com>
> Cc: Simon Glass <sjg at chromium.org>
> ---
> common/board_info.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list