diff options
author | Simon Glass <sjg@chromium.org> | 2024-08-22 07:57:49 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-08-26 18:51:49 -0600 |
commit | b073d48e8dd7d178ebd237089be730d15c72ddfc (patch) | |
tree | abc9d5842979f4c495528da9cf08ca2f26ee8554 /test/dm/bootcount.c | |
parent | 725c438c6271f1870636f61a68d6904dc27a1357 (diff) |
test: Drop the blank line before test macros
Most tests don't have this. It helps to keep the test declaration
clearly associated with the function it relates to, rather than the next
one in the file. Remove the extra blank line and mention this in the
docs.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/bootcount.c')
-rw-r--r-- | test/dm/bootcount.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/dm/bootcount.c b/test/dm/bootcount.c index 4b0a4b37931..f66927a5d37 100644 --- a/test/dm/bootcount.c +++ b/test/dm/bootcount.c @@ -35,7 +35,6 @@ static int dm_test_bootcount_rtc(struct unit_test_state *uts) return 0; } - DM_TEST(dm_test_bootcount_rtc, UTF_SCAN_PDATA | UTF_SCAN_FDT); static int dm_test_bootcount_syscon_four_bytes(struct unit_test_state *uts) @@ -55,7 +54,6 @@ static int dm_test_bootcount_syscon_four_bytes(struct unit_test_state *uts) return 0; } - DM_TEST(dm_test_bootcount_syscon_four_bytes, UTF_SCAN_PDATA | UTF_SCAN_FDT); @@ -76,6 +74,4 @@ static int dm_test_bootcount_syscon_two_bytes(struct unit_test_state *uts) return 0; } - -DM_TEST(dm_test_bootcount_syscon_two_bytes, - UTF_SCAN_PDATA | UTF_SCAN_FDT); +DM_TEST(dm_test_bootcount_syscon_two_bytes, UTF_SCAN_PDATA | UTF_SCAN_FDT); |