dm: Drop the unused arg in uclass_find_device_by_seq()
authorSimon Glass <sjg@chromium.org>
Thu, 17 Dec 2020 04:20:29 +0000 (21:20 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Dec 2020 03:32:21 +0000 (20:32 -0700)
commit991759196faa74b2e7df1cb8e87820f4ec7285f8
treec006a0c22ee148df5c777c865751bdd3e4a72199
parentb5b11558bc2d7088dfbb67253d8b094782334dea
dm: Drop the unused arg in uclass_find_device_by_seq()

Now that there is only one sequence number (rather than both requested and
assigned ones) we can simplify this function. Also update its caller to
simplify the logic.

Signed-off-by: Simon Glass <sjg@chromium.org>
12 files changed:
arch/arm/mach-k3/am6_init.c
arch/arm/mach-k3/j721e_init.c
arch/arm/mach-k3/sysfw-loader.c
drivers/core/device.c
drivers/core/uclass.c
drivers/spi/spi-uclass.c
drivers/usb/host/usb-uclass.c
include/dm/device.h
include/dm/uclass-internal.h
net/eth-uclass.c
test/dm/bus.c
test/dm/test-fdt.c