dm: core: Rename sqq to seq_

Now that the sequence-numbering migration is complete, rename this member
back to seq_, adding an underscore to indicate it is internal to driver
model.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
Simon Glass
2020-12-19 10:40:09 -07:00
parent 82021e31a7
commit 2462139fdd
6 changed files with 18 additions and 17 deletions

View File

@@ -1075,10 +1075,10 @@ static int dm_test_all_have_seq(struct unit_test_state *uts)
list_for_each_entry(uc, &gd->uclass_root, sibling_node) {
list_for_each_entry(dev, &uc->dev_head, uclass_node) {
if (dev->sqq == -1)
if (dev->seq_ == -1)
printf("Device '%s' has no seq (%d)\n",
dev->name, dev->sqq);
ut_assert(dev->sqq != -1);
dev->name, dev->seq_);
ut_assert(dev->seq_ != -1);
}
}