This patch fixes the checkpatch.pl error:
< WARNING: Missing a blank line after declarations
< #97: FILE: drivers/dio/dio.c:97:
< + unsigned int i;
< + for (i = 0; i < ARRAY_SIZE(names); i++)
Signed-off-by: Aleksa Vučković <[email protected]>
---
drivers/dio/dio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dio/dio.c b/drivers/dio/dio.c
index 36ffa3c839f5..005a82f671c3 100644
--- a/drivers/dio/dio.c
+++ b/drivers/dio/dio.c
@@ -94,6 +94,7 @@ static const char *dio_getname(int id)
{
/* return pointer to a constant string describing the board with given ID */
unsigned int i;
+
for (i = 0; i < ARRAY_SIZE(names); i++)
if (names[i].id == id)
return names[i].name;
--
2.35.0