staging: speakup: speakup_soft.c Logical continuation
authorWalt Feasel <waltfeasel@gmail.com>
Mon, 21 Nov 2016 15:19:21 +0000 (10:19 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Nov 2016 09:07:32 +0000 (10:07 +0100)
Make suggested checkpatch modification for
CHECK: Logical continuations should be on the
previous line

Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/speakup_soft.c

index 1697b4f2883886ffca8043965a17adf4f9fd4b9c..de6b35aa37cb6aa5295e78619bead741d1b4e360 100644 (file)
@@ -162,8 +162,8 @@ static char *get_initstring(void)
        cp = buf;
        var = synth_soft.vars;
        while (var->var_id != MAXVARS) {
-               if (var->var_id != CAPS_START && var->var_id != CAPS_STOP
-                       && var->var_id != DIRECT)
+               if (var->var_id != CAPS_START && var->var_id != CAPS_STOP &&
+                   var->var_id != DIRECT)
                        cp = cp + sprintf(cp, var->u.n.synth_fmt,
                                          var->u.n.value);
                var++;