diff options
| author | Marek Vasut <[email protected]> | 2021-07-04 21:32:04 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-07-14 16:47:59 -0400 |
| commit | 10f3e157e8f9d95860033fcaec2953f8cf11d2d6 (patch) | |
| tree | c569c600bc1632b9ae9079f87843ee3402247749 /scripts/basic | |
| parent | fc3292cbeb4d9fca76a6a1b73acccc63ef0dddd9 (diff) | |
board-info: Use sysinfo_get()
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 <[email protected]>
Cc: Marcel Ziswiler <[email protected]>
Cc: Simon Glass <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
