summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAleksa Vučković <aleksav013@gmail.com>2022-01-27 14:50:54 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-04 16:45:39 +0100
commitaafce7bc5908205c9169a9a362e1c5a46b4d2cf2 (patch)
tree14ca71f09ebf8e713a7ec28988a1318e2b6bb9aa /drivers
parentdffae938c06aea287ee2a28af90b6e5b15f79a19 (diff)
drivers: dio: Missing a blank line after declarations
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ć <aleksav013@gmail.com> Link: https://lore.kernel.org/r/20220127135054.27281-7-aleksav013@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dio/dio.c1
1 files changed, 1 insertions, 0 deletions
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;