[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:
committed by
Russell King
parent
76a55431cc
commit
7369a8b39c
@@ -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)
|
|||||||
/* 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)
|
|||||||
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)
|
|||||||
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)
|
|||||||
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]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user