serial: core: Unfold < 80 char lines
Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5e3880273f
commit
968af29836
|
@ -1686,17 +1686,13 @@ static void uart_line_info(struct seq_file *m, struct uart_driver *drv, int i)
|
||||||
seq_printf(m, " tx:%d rx:%d",
|
seq_printf(m, " tx:%d rx:%d",
|
||||||
uport->icount.tx, uport->icount.rx);
|
uport->icount.tx, uport->icount.rx);
|
||||||
if (uport->icount.frame)
|
if (uport->icount.frame)
|
||||||
seq_printf(m, " fe:%d",
|
seq_printf(m, " fe:%d", uport->icount.frame);
|
||||||
uport->icount.frame);
|
|
||||||
if (uport->icount.parity)
|
if (uport->icount.parity)
|
||||||
seq_printf(m, " pe:%d",
|
seq_printf(m, " pe:%d", uport->icount.parity);
|
||||||
uport->icount.parity);
|
|
||||||
if (uport->icount.brk)
|
if (uport->icount.brk)
|
||||||
seq_printf(m, " brk:%d",
|
seq_printf(m, " brk:%d", uport->icount.brk);
|
||||||
uport->icount.brk);
|
|
||||||
if (uport->icount.overrun)
|
if (uport->icount.overrun)
|
||||||
seq_printf(m, " oe:%d",
|
seq_printf(m, " oe:%d", uport->icount.overrun);
|
||||||
uport->icount.overrun);
|
|
||||||
|
|
||||||
#define INFOBIT(bit, str) \
|
#define INFOBIT(bit, str) \
|
||||||
if (uport->mctrl & (bit)) \
|
if (uport->mctrl & (bit)) \
|
||||||
|
@ -1731,8 +1727,7 @@ static int uart_proc_show(struct seq_file *m, void *v)
|
||||||
struct uart_driver *drv = ttydrv->driver_state;
|
struct uart_driver *drv = ttydrv->driver_state;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
seq_printf(m, "serinfo:1.0 driver%s%s revision:%s\n",
|
seq_printf(m, "serinfo:1.0 driver%s%s revision:%s\n", "", "", "");
|
||||||
"", "", "");
|
|
||||||
for (i = 0; i < drv->nr; i++)
|
for (i = 0; i < drv->nr; i++)
|
||||||
uart_line_info(m, drv, i);
|
uart_line_info(m, drv, i);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue