Now that migration to the new sequence numbers is complete, drop the old fields. Add a test that covers the new behaviour.
Also drop the check for OF_PRIOR_STAGE since we always assign sequence numbers now. Signed-off-by: Simon Glass <[email protected]> --- (no changes since v2) Changes in v2: - Adjust the tests to handle the new allocation scheme - Simplify the logic so auto_seq is positive drivers/core/device-remove.c | 1 - drivers/core/device.c | 17 ++-------------- include/dm/device.h | 9 +-------- test/dm/test-fdt.c | 39 ++++++++++++++++++++++++++++++++++++ 4 files changed, 42 insertions(+), 24 deletions(-) Applied to u-boot-dm/next, thanks!

