Skip to content

Commit b12ff16

Browse files
committed
drivers: tty: serial: uartlite: fix overlong lines
Fix checkpatch warnings: WARNING: line over 80 characters torvalds#283: FILE: drivers/tty/serial/uartlite.c:283: + ret = request_irq(port->irq, ulite_isr, IRQF_SHARED | IRQF_TRIGGER_RISING, WARNING: Missing a blank line after declarations torvalds#577: FILE: drivers/tty/serial/uartlite.c:577: + struct earlycon_device *device = console->data; + uart_console_write(&device->port, s, n, early_uartlite_putc); WARNING: line over 80 characters torvalds#590: FILE: drivers/tty/serial/uartlite.c:590: +OF_EARLYCON_DECLARE(uartlite_b, "xlnx,opb-uartlite-1.00.b", early_uartlite_setup); WARNING: line over 80 characters torvalds#591: FILE: drivers/tty/serial/uartlite.c:591: +OF_EARLYCON_DECLARE(uartlite_a, "xlnx,xps-uartlite-1.00.a", early_uartlite_setup); Signed-off-by: Enrico Weigelt <[email protected]>
1 parent 6350a85 commit b12ff16

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

drivers/tty/serial/uartlite.c

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,8 @@ static int ulite_startup(struct uart_port *port)
280280
return ret;
281281
}
282282

283-
ret = request_irq(port->irq, ulite_isr, IRQF_SHARED | IRQF_TRIGGER_RISING,
283+
ret = request_irq(port->irq, ulite_isr,
284+
IRQF_SHARED | IRQF_TRIGGER_RISING,
284285
"uartlite", port);
285286
if (ret)
286287
return ret;
@@ -574,6 +575,7 @@ static void early_uartlite_write(struct console *console,
574575
const char *s, unsigned int n)
575576
{
576577
struct earlycon_device *device = console->data;
578+
577579
uart_console_write(&device->port, s, n, early_uartlite_putc);
578580
}
579581

@@ -587,8 +589,10 @@ static int __init early_uartlite_setup(struct earlycon_device *device,
587589
return 0;
588590
}
589591
EARLYCON_DECLARE(uartlite, early_uartlite_setup);
590-
OF_EARLYCON_DECLARE(uartlite_b, "xlnx,opb-uartlite-1.00.b", early_uartlite_setup);
591-
OF_EARLYCON_DECLARE(uartlite_a, "xlnx,xps-uartlite-1.00.a", early_uartlite_setup);
592+
OF_EARLYCON_DECLARE(uartlite_b, "xlnx,opb-uartlite-1.00.b",
593+
early_uartlite_setup);
594+
OF_EARLYCON_DECLARE(uartlite_a, "xlnx,xps-uartlite-1.00.a",
595+
early_uartlite_setup);
592596

593597
#endif /* CONFIG_SERIAL_UARTLITE_CONSOLE */
594598

0 commit comments

Comments
 (0)