staging: speakup: Match alignment with open parenthesis.
PATCH 1/1 staging: speakup: Match alignment with open parenthesis.
Fix checkpatch issues: "CHECK: Alignment should match open parenthesis".
Signed-off-by Arushi Singhal <[email protected]>
--- drivers/staging/speakup/main.c | 2 +- drivers/staging/speakup/selection.c | 2 +- drivers/staging/speakup/serialio.c | 2 +- drivers/staging/speakup/speakup_acntpc.c | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-)
drivers/staging/speakup/main.c +1 -1
@@ -1160,7 +1160,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 ;
drivers/staging/speakup/selection.c +1 -1
@@ -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 ; }
drivers/staging/speakup/serialio.c +1 -1
@@ -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 );
drivers/staging/speakup/speakup_acntpc.c +3 -3
@@ -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 );
Signature · 1 line
2.11.0