[PATCH v3 25/28] dm: core: Update uclass_find_next_free_req_seq() for new scheme

Simon Glass sjg at chromium.org
Sat Dec 19 17:40:07 CET 2020


This function current deals with req_seq which is deprecated. Update it to
use the new sequence numbers, putting them above existing aliases. Rename
the function to make this clear.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v2)

Changes in v2:
- Update for new logic
- Adjust commit message
- Drop pointless check for max == -1

 drivers/core/device.c        |  8 ++------
 drivers/core/uclass.c        | 19 +++++++++++++------
 drivers/pci/pci-uclass.c     |  2 +-
 include/dm/uclass-internal.h | 17 ++++++++++-------
 4 files changed, 26 insertions(+), 20 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list