Re: [PATCH 1/2] board-info: Use sysinfo_get()

2021-07-14 Thread Tom Rini
On Sun, Jul 04, 2021 at 09:32:04PM +0200, Marek Vasut 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 >

Re: [PATCH 1/2] board-info: Use sysinfo_get()

2021-07-05 Thread Simon Glass
On Sun, 4 Jul 2021 at 13:32, Marek Vasut 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 u

[PATCH 1/2] board-info: Use sysinfo_get()

2021-07-04 Thread 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 the