staging: fieldbus: anybus: reframe comment to avoid warning
authorAjith P V <ajithpv.linux@gmail.com>
Fri, 29 Oct 2021 13:27:00 +0000 (18:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Oct 2021 09:12:17 +0000 (11:12 +0200)
host.c file comment produce warning with checkpatch as below:
WARNING: Possible repeated word: 'interrupt'
Reframe the comment into bullet points or steps avoid this warning.

Signed-off-by: Ajith P V <ajithpv.linux@gmail.com>
Link: https://lore.kernel.org/r/20211029132700.8552-1-ajithpv.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fieldbus/anybuss/host.c

index 8a75f66..a344410 100644 (file)
@@ -1318,11 +1318,11 @@ anybuss_host_common_probe(struct device *dev,
        }
        /*
         * startup sequence:
-        *   perform dummy IND_AB read to prevent false 'init done' irq
+        *   a) perform dummy IND_AB read to prevent false 'init done' irq
         *     (already done by test_dpram() above)
-        *   release reset
-        *   wait for first interrupt
-        *   interrupt came in: ready to go !
+        *   b) release reset
+        *   c) wait for first interrupt
+        *   d) interrupt came in: ready to go !
         */
        reset_deassert(cd);
        if (!wait_for_completion_timeout(&cd->card_boot, TIMEOUT)) {