mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[SERIAL] ip22zilog: Whitespace cleanup.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
76a55431cc
commit
7369a8b39c
2 changed files with 5 additions and 4 deletions
|
@ -262,6 +262,7 @@ static inline void dz_receive_chars(struct dz_port *dport)
|
|||
}
|
||||
tty_insert_flip_char(tty, ch, flag);
|
||||
ignore_char:
|
||||
;
|
||||
} while (status & DZ_DVAL);
|
||||
|
||||
if (tty)
|
||||
|
|
|
@ -215,7 +215,7 @@ static void __load_zsregs(struct zilog_channel *channel, unsigned char *regs)
|
|||
/* Lower and upper byte of baud rate generator divisor. */
|
||||
write_zsreg(channel, R12, regs[R12]);
|
||||
write_zsreg(channel, R13, regs[R13]);
|
||||
|
||||
|
||||
/* Now rewrite R14, with BRENAB (if set). */
|
||||
write_zsreg(channel, R14, regs[R14]);
|
||||
|
||||
|
@ -571,7 +571,7 @@ static void ip22zilog_set_mctrl(struct uart_port *port, unsigned int mctrl)
|
|||
else
|
||||
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] &= ~clear_bits;
|
||||
write_zsreg(channel, R5, up->curregs[R5]);
|
||||
|
@ -654,7 +654,7 @@ static void ip22zilog_enable_ms(struct uart_port *port)
|
|||
if (new_reg != up->curregs[R15]) {
|
||||
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]);
|
||||
}
|
||||
}
|
||||
|
@ -680,7 +680,7 @@ static void ip22zilog_break_ctl(struct uart_port *port, int break_state)
|
|||
if (new_reg != up->curregs[R5]) {
|
||||
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]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue