[PATCH v3 03/28] dm: core: Update uclass_find_next_free_req_seq() args
Simon Glass
sjg at chromium.org
Sat Dec 19 17:40:38 CET 2020
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 at chromium.org>
---
(no changes since v1)
drivers/core/device.c | 4 ++--
drivers/core/uclass.c | 8 +-------
drivers/i2c/designware_i2c_pci.c | 8 +++++++-
include/dm/uclass-internal.h | 4 ++--
4 files changed, 12 insertions(+), 12 deletions(-)
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list