dm: core: Drop unused parameter from dm_scan_fdt()
This doesn't need to be passed the devicetree anymore. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -486,7 +486,7 @@ static int dm_test_leak(struct unit_test_state *uts)
|
||||
dm_leak_check_start(uts);
|
||||
|
||||
ut_assertok(dm_scan_platdata(false));
|
||||
ut_assertok(dm_scan_fdt(gd->fdt_blob, false));
|
||||
ut_assertok(dm_scan_fdt(false));
|
||||
|
||||
/* Scanning the uclass is enough to probe all the devices */
|
||||
for (id = UCLASS_ROOT; id < UCLASS_COUNT; id++) {
|
||||
|
||||
@@ -308,7 +308,7 @@ static int dm_test_fdt_pre_reloc(struct unit_test_state *uts)
|
||||
struct uclass *uc;
|
||||
int ret;
|
||||
|
||||
ret = dm_scan_fdt(gd->fdt_blob, true);
|
||||
ret = dm_scan_fdt(true);
|
||||
ut_assert(!ret);
|
||||
|
||||
ret = uclass_get(UCLASS_TEST_FDT, &uc);
|
||||
|
||||
@@ -213,7 +213,7 @@ int dm_test_main(const char *test_name)
|
||||
ut_assertok(dm_init(CONFIG_IS_ENABLED(OF_LIVE)));
|
||||
dm_scan_platdata(false);
|
||||
if (!CONFIG_IS_ENABLED(OF_PLATDATA))
|
||||
dm_scan_fdt(gd->fdt_blob, false);
|
||||
dm_scan_fdt(false);
|
||||
|
||||
return uts->fail_count ? CMD_RET_FAILURE : 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user