[PATCH v5 11/15] dm: treewide: Use uclass_next_device_err when accessing second device

Simon Glass sjg at chromium.org
Thu Sep 29 12:00:45 CEST 2022


On Tue, 27 Sept 2022 at 15:40, Michal Suchanek <msuchanek at suse.de> wrote:
>
> There are a couple users of uclass_next_device return value that get the
> first device by other means and use uclass_next_device assuming the
> following device in the uclass is related to the first one.
>
> Use uclass_next_device_err because the return value from
> uclass_next_device will be removed in a later patch.
>
> Signed-off-by: Michal Suchanek <msuchanek at suse.de>
> ---
>  arch/arm/mach-k3/j721s2_init.c  | 2 +-
>  board/atmel/common/mac_eeprom.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list