staging: speakup: Match alignment with open parenthesis.
authorArushi Singhal <arushisinghal19971997@gmail.com>
Tue, 21 Mar 2017 11:42:34 +0000 (17:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2017 13:20:41 +0000 (14:20 +0100)
Fix checkpatch issues: "CHECK: Alignment should match open parenthesis".

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/main.c
drivers/staging/speakup/selection.c
drivers/staging/speakup/serialio.c
drivers/staging/speakup/speakup_acntpc.c

index 8720de27b03562ad67ac3a6f3b01a0d96152f18c..2db3f067dd23969c5220576801b3e5d4344fc455 100644 (file)
@@ -1154,7 +1154,7 @@ static void spkup_write(const u16 *in_buf, int count)
                if (last_type & CH_RPT) {
                        synth_printf(" ");
                        synth_printf(spk_msg_get(MSG_REPEAT_DESC2),
-                                       ++rep_count);
+                                    ++rep_count);
                        synth_printf(" ");
                }
                rep_count = 0;
index 4417c00e68a7761b01e9966a73c86c654a6c5995..08f68fc2864ec6f751070216e977092b5e24be36 100644 (file)
@@ -75,7 +75,7 @@ int speakup_set_selection(struct tty_struct *tty)
                speakup_clear_selection();
                spk_sel_cons = vc_cons[fg_console].d;
                dev_warn(tty->dev,
-                       "Selection: mark console not the same as cut\n");
+                        "Selection: mark console not the same as cut\n");
                return -EINVAL;
        }
 
index e860e48818a4f8bb3cfbea85138b8698c99deb93..5e31acac19de293b2c8574005b7444c7f9a7a294 100644 (file)
@@ -125,7 +125,7 @@ static void start_serial_interrupt(int irq)
                pr_err("Unable to request Speakup serial I R Q\n");
        /* Set MCR */
        outb(UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2,
-                       speakup_info.port_tts + UART_MCR);
+            speakup_info.port_tts + UART_MCR);
        /* Turn on Interrupts */
        outb(UART_IER_MSI|UART_IER_RLSI|UART_IER_RDI,
                        speakup_info.port_tts + UART_IER);
index b4058bd82e42472e069c7123c35af9449d503665..ad72f8e883fc4a5425c0b23f0f91e049b43295f2 100644 (file)
@@ -261,9 +261,9 @@ static int synth_probe(struct spk_synth *synth)
        if (port_forced) {
                speakup_info.port_tts = port_forced;
                pr_info("probe forced to %x by kernel command line\n",
-                               speakup_info.port_tts);
+                       speakup_info.port_tts);
                if (synth_request_region(speakup_info.port_tts - 1,
-                                       SYNTH_IO_EXTENT)) {
+                                        SYNTH_IO_EXTENT)) {
                        pr_warn("sorry, port already reserved\n");
                        return -EBUSY;
                }
@@ -272,7 +272,7 @@ static int synth_probe(struct spk_synth *synth)
        } else {
                for (i = 0; synth_portlist[i]; i++) {
                        if (synth_request_region(synth_portlist[i],
-                                               SYNTH_IO_EXTENT)) {
+                                                SYNTH_IO_EXTENT)) {
                                pr_warn
                                    ("request_region: failed with 0x%x, %d\n",
                                     synth_portlist[i], SYNTH_IO_EXTENT);