• M
    board-info: Use sysinfo_get() · 10f3e157
    Marek Vasut 提交于
    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: NMarek Vasut <marek.vasut+renesas@gmail.com>
    Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
    Cc: Simon Glass <sjg@chromium.org>
    Reviewed-by: NSimon Glass <sjg@chromium.org>
    10f3e157
board_info.c 1012 字节