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>
diff --git a/test/dm/bootcount.c b/test/dm/bootcount.c
index 4b0a4b3..f66927a 100644
--- a/test/dm/bootcount.c
+++ b/test/dm/bootcount.c
@@ -35,7 +35,6 @@
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 @@
return 0;
}
-
DM_TEST(dm_test_bootcount_syscon_four_bytes,
UTF_SCAN_PDATA | UTF_SCAN_FDT);
@@ -76,6 +74,4 @@
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);