diff options
author | Frederik Völkel <frederik.voelkel@fau.de> | 2015-12-11 05:36:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-13 22:59:48 -0500 |
commit | 4b7bb2b288d32abd854c41a54ba1da2be462f43b (patch) | |
tree | c568b37d6917a74a3f1c641991329cdf8fcbd84f /drivers/tty | |
parent | ba4f10ae1b731a7c2ceff49977e6df336805b839 (diff) |
drivers: tty: 68328serial.c: remove unnecessary spaces(checkpatch)
This patch removes unnecessary spaces reported by checkpatch.
Signed-off-by: Frederik Völkel <frederik.voelkel@fau.de>
Signed-off-by: Lukas Braun <lukas.braun@fau.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/68328serial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/serial/68328serial.c b/drivers/tty/serial/68328serial.c index 4cdd8054db82..b26cbae609ef 100644 --- a/drivers/tty/serial/68328serial.c +++ b/drivers/tty/serial/68328serial.c | |||
@@ -538,7 +538,7 @@ static void change_speed(struct m68k_serial *info, struct tty_struct *tty) | |||
538 | 538 | ||
539 | #ifdef CONFIG_SERIAL_68328_RTS_CTS | 539 | #ifdef CONFIG_SERIAL_68328_RTS_CTS |
540 | if (cflag & CRTSCTS) { | 540 | if (cflag & CRTSCTS) { |
541 | uart->utx.w &= ~ UTX_NOCTS; | 541 | uart->utx.w &= ~UTX_NOCTS; |
542 | } else { | 542 | } else { |
543 | uart->utx.w |= UTX_NOCTS; | 543 | uart->utx.w |= UTX_NOCTS; |
544 | } | 544 | } |
@@ -1198,7 +1198,7 @@ rs68328_init(void) | |||
1198 | printk(" is a builtin MC68328 UART\n"); | 1198 | printk(" is a builtin MC68328 UART\n"); |
1199 | 1199 | ||
1200 | #ifdef CONFIG_M68VZ328 | 1200 | #ifdef CONFIG_M68VZ328 |
1201 | if (i > 0 ) | 1201 | if (i > 0) |
1202 | PJSEL &= 0xCF; /* PSW enable second port output */ | 1202 | PJSEL &= 0xCF; /* PSW enable second port output */ |
1203 | #endif | 1203 | #endif |
1204 | 1204 | ||
@@ -1298,7 +1298,7 @@ void m68328_console_write (struct console *co, const char *str, | |||
1298 | while (count--) { | 1298 | while (count--) { |
1299 | if (*str == '\n') | 1299 | if (*str == '\n') |
1300 | rs_put_char('\r'); | 1300 | rs_put_char('\r'); |
1301 | rs_put_char( *str++ ); | 1301 | rs_put_char(*str++); |
1302 | } | 1302 | } |
1303 | } | 1303 | } |
1304 | 1304 | ||