]> git.baikalelectronics.ru Git - uboot.git/commit
dm: treewide: Use uclass_next_device_err when accessing second device
authorMichal Suchanek <msuchanek@suse.de>
Wed, 12 Oct 2022 19:58:00 +0000 (21:58 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Oct 2022 03:17:12 +0000 (21:17 -0600)
commitb621c749d07bd9aaac5a52fc0fcf1ccb1a27b1e0
tree7b1bb422dc86e74024f242cad157ee8a4eff97a8
parent919d5495ca50434f393e56fb84f9789a342bd0dd
dm: treewide: Use uclass_next_device_err when accessing second device

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@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-k3/j721s2_init.c
board/atmel/common/mac_eeprom.c