Commit 7369a8b3 authored by Ralf Baechle's avatar Ralf Baechle Committed by Russell King

[SERIAL] ip22zilog: Whitespace cleanup.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 76a55431
...@@ -262,6 +262,7 @@ static inline void dz_receive_chars(struct dz_port *dport) ...@@ -262,6 +262,7 @@ static inline void dz_receive_chars(struct dz_port *dport)
} }
tty_insert_flip_char(tty, ch, flag); tty_insert_flip_char(tty, ch, flag);
ignore_char: ignore_char:
;
} while (status & DZ_DVAL); } while (status & DZ_DVAL);
if (tty) if (tty)
......
...@@ -215,7 +215,7 @@ static void __load_zsregs(struct zilog_channel *channel, unsigned char *regs) ...@@ -215,7 +215,7 @@ static void __load_zsregs(struct zilog_channel *channel, unsigned char *regs)
/* Lower and upper byte of baud rate generator divisor. */ /* Lower and upper byte of baud rate generator divisor. */
write_zsreg(channel, R12, regs[R12]); write_zsreg(channel, R12, regs[R12]);
write_zsreg(channel, R13, regs[R13]); write_zsreg(channel, R13, regs[R13]);
/* Now rewrite R14, with BRENAB (if set). */ /* Now rewrite R14, with BRENAB (if set). */
write_zsreg(channel, R14, regs[R14]); write_zsreg(channel, R14, regs[R14]);
...@@ -571,7 +571,7 @@ static void ip22zilog_set_mctrl(struct uart_port *port, unsigned int mctrl) ...@@ -571,7 +571,7 @@ static void ip22zilog_set_mctrl(struct uart_port *port, unsigned int mctrl)
else else
clear_bits |= DTR; clear_bits |= DTR;
/* NOTE: Not subject to 'transmitter active' rule. */ /* NOTE: Not subject to 'transmitter active' rule. */
up->curregs[R5] |= set_bits; up->curregs[R5] |= set_bits;
up->curregs[R5] &= ~clear_bits; up->curregs[R5] &= ~clear_bits;
write_zsreg(channel, R5, up->curregs[R5]); write_zsreg(channel, R5, up->curregs[R5]);
...@@ -654,7 +654,7 @@ static void ip22zilog_enable_ms(struct uart_port *port) ...@@ -654,7 +654,7 @@ static void ip22zilog_enable_ms(struct uart_port *port)
if (new_reg != up->curregs[R15]) { if (new_reg != up->curregs[R15]) {
up->curregs[R15] = new_reg; up->curregs[R15] = new_reg;
/* NOTE: Not subject to 'transmitter active' rule. */ /* NOTE: Not subject to 'transmitter active' rule. */
write_zsreg(channel, R15, up->curregs[R15]); write_zsreg(channel, R15, up->curregs[R15]);
} }
} }
...@@ -680,7 +680,7 @@ static void ip22zilog_break_ctl(struct uart_port *port, int break_state) ...@@ -680,7 +680,7 @@ static void ip22zilog_break_ctl(struct uart_port *port, int break_state)
if (new_reg != up->curregs[R5]) { if (new_reg != up->curregs[R5]) {
up->curregs[R5] = new_reg; up->curregs[R5] = new_reg;
/* NOTE: Not subject to 'transmitter active' rule. */ /* NOTE: Not subject to 'transmitter active' rule. */
write_zsreg(channel, R5, up->curregs[R5]); write_zsreg(channel, R5, up->curregs[R5]);
} }
......
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