]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Update uclass_find_next_free_req_seq() args
authorSimon Glass <sjg@chromium.org>
Thu, 17 Dec 2020 04:20:08 +0000 (21:20 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Dec 2020 03:32:21 +0000 (20:32 -0700)
commitd03adb4a78d18b5506350b3ac72ab2f18f1ed160
treee5d27de4a64912a3152d490d33638d60b07d7a36
parent8b85dfc675f12de8d04126c07f3c796965b990c2
dm: core: Update uclass_find_next_free_req_seq() args

At present this is passed a uclass ID and it has to do a lookup. The
callers all have the uclass pointer, except for the I2C uclass where the
code will soon be deleted.

Update the argument to a uclass * instead of an ID since it is more
efficient.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
drivers/core/uclass.c
drivers/i2c/designware_i2c_pci.c
include/dm/uclass-internal.h