summaryrefslogtreecommitdiff
path: root/test/dm/mux-mmio.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-08-22 07:57:48 -0600
committerTom Rini <trini@konsulko.com>2024-08-26 18:51:48 -0600
commit725c438c6271f1870636f61a68d6904dc27a1357 (patch)
treeea7305492e3b2c4c8e4887eabe7e7e273e7c8f55 /test/dm/mux-mmio.c
parent88ae69f3b7efaa8de5c9d5d50081d6bf83e77ae9 (diff)
test: Rename unit-test flags
The UT_TESTF_ macros read as 'unit test test flags' which is not right. Rename to UTF ('unit test flags'). This has the benefit of being shorter, which helps keep UNIT_TEST() declarations on a single line. Give the enum a name and reference it from the UNIT_TEST() macros while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/mux-mmio.c')
-rw-r--r--test/dm/mux-mmio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dm/mux-mmio.c b/test/dm/mux-mmio.c
index 3a871a19c7e..3bb1e49b8c9 100644
--- a/test/dm/mux-mmio.c
+++ b/test/dm/mux-mmio.c
@@ -85,7 +85,7 @@ static int dm_test_mux_mmio_select(struct unit_test_state *uts)
return 0;
}
-DM_TEST(dm_test_mux_mmio_select, UT_TESTF_SCAN_PDATA | UT_TESTF_SCAN_FDT);
+DM_TEST(dm_test_mux_mmio_select, UTF_SCAN_PDATA | UTF_SCAN_FDT);
/* Test that managed API for mux work correctly */
static int dm_test_devm_mux_mmio(struct unit_test_state *uts)
@@ -134,4 +134,4 @@ static int dm_test_devm_mux_mmio(struct unit_test_state *uts)
device_remove(dev_b, DM_REMOVE_NORMAL);
return 0;
}
-DM_TEST(dm_test_devm_mux_mmio, UT_TESTF_SCAN_PDATA | UT_TESTF_SCAN_FDT);
+DM_TEST(dm_test_devm_mux_mmio, UTF_SCAN_PDATA | UTF_SCAN_FDT);