]> git.baikalelectronics.ru Git - uboot.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)
commitcb2db28c63160361ba872d5c3828a675f253703d
treee5d27de4a64912a3152d490d33638d60b07d7a36
parente0fc33c692e8c893027205b1b1fec7d4a11e39a2
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