diff options
author | Simon Glass <sjg@chromium.org> | 2020-11-29 03:50:10 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-13 17:58:18 +0300 |
commit | 8ee05b5f903bdfb0c4c2d578fd0172ecb900e3e2 (patch) | |
tree | c186588e46e2aeec8608b8fa4d9f6ff3f2075ff1 /test/dm | |
parent | 725e4fce61e5b8339fdc975b01ce7bb3dd9fa5f4 (diff) | |
download | u-boot-8ee05b5f903bdfb0c4c2d578fd0172ecb900e3e2.tar.xz |
dm: core: Drop unused parameter from dm_extended_scan_fdt()
This doesn't need to be passed the devicetree anymore. Drop it.
Also rename the function to drop the _fdt suffix.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm')
-rw-r--r-- | test/dm/test-fdt.c | 2 | ||||
-rw-r--r-- | test/dm/test-main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/dm/test-fdt.c b/test/dm/test-fdt.c index 9507636b63..673ffb4de9 100644 --- a/test/dm/test-fdt.c +++ b/test/dm/test-fdt.c @@ -257,7 +257,7 @@ static int dm_test_fdt(struct unit_test_state *uts) int ret; int i; - ret = dm_extended_scan_fdt(gd->fdt_blob, false); + ret = dm_extended_scan(false); ut_assert(!ret); ret = uclass_get(UCLASS_TEST_FDT, &uc); diff --git a/test/dm/test-main.c b/test/dm/test-main.c index 2ab73b647e..4814e186cb 100644 --- a/test/dm/test-main.c +++ b/test/dm/test-main.c @@ -94,7 +94,7 @@ static int dm_do_test(struct unit_test_state *uts, struct unit_test *test, ut_assertok(do_autoprobe(uts)); if (!CONFIG_IS_ENABLED(OF_PLATDATA) && (test->flags & UT_TESTF_SCAN_FDT)) - ut_assertok(dm_extended_scan_fdt(gd->fdt_blob, false)); + ut_assertok(dm_extended_scan(false)); /* * Silence the console and rely on console recording to get |