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>
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user