Commit 4b7bb2b2 authored by Frederik Völkel's avatar Frederik Völkel Committed by Greg Kroah-Hartman

drivers: tty: 68328serial.c: remove unnecessary spaces(checkpatch)

This patch removes unnecessary spaces reported by checkpatch.
Signed-off-by: default avatarFrederik Völkel <frederik.voelkel@fau.de>
Signed-off-by: default avatarLukas Braun <lukas.braun@fau.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ba4f10ae
...@@ -538,7 +538,7 @@ static void change_speed(struct m68k_serial *info, struct tty_struct *tty) ...@@ -538,7 +538,7 @@ static void change_speed(struct m68k_serial *info, struct tty_struct *tty)
#ifdef CONFIG_SERIAL_68328_RTS_CTS #ifdef CONFIG_SERIAL_68328_RTS_CTS
if (cflag & CRTSCTS) { if (cflag & CRTSCTS) {
uart->utx.w &= ~ UTX_NOCTS; uart->utx.w &= ~UTX_NOCTS;
} else { } else {
uart->utx.w |= UTX_NOCTS; uart->utx.w |= UTX_NOCTS;
} }
...@@ -1198,7 +1198,7 @@ rs68328_init(void) ...@@ -1198,7 +1198,7 @@ rs68328_init(void)
printk(" is a builtin MC68328 UART\n"); printk(" is a builtin MC68328 UART\n");
#ifdef CONFIG_M68VZ328 #ifdef CONFIG_M68VZ328
if (i > 0 ) if (i > 0)
PJSEL &= 0xCF; /* PSW enable second port output */ PJSEL &= 0xCF; /* PSW enable second port output */
#endif #endif
...@@ -1298,7 +1298,7 @@ void m68328_console_write (struct console *co, const char *str, ...@@ -1298,7 +1298,7 @@ void m68328_console_write (struct console *co, const char *str,
while (count--) { while (count--) {
if (*str == '\n') if (*str == '\n')
rs_put_char('\r'); rs_put_char('\r');
rs_put_char( *str++ ); rs_put_char(*str++);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment