drivers: dio: Missing a blank line after declarations
authorAleksa Vučković <aleksav013@gmail.com>
Thu, 27 Jan 2022 13:50:54 +0000 (14:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Feb 2022 15:45:39 +0000 (16:45 +0100)
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>
drivers/dio/dio.c

index 36ffa3c..005a82f 100644 (file)
@@ -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;