"Das U-Boot" Source Tree

drivers: serial: Remove duplicate newlines

Drop all duplicate newlines. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>

authored by

Marek Vasut and committed by
Tom Rini
027fb6f0 76429988

-14
-1
drivers/serial/serial_arc.c
··· 24 24 unsigned int baudh; 25 25 }; 26 26 27 - 28 27 struct arc_serial_plat { 29 28 struct arc_serial_regs *reg; 30 29 unsigned int uartclk;
-2
drivers/serial/serial_linflexuart.c
··· 69 69 { 70 70 __raw_writeb(c, &base->bdrl); 71 71 72 - 73 72 if (!(__raw_readb(&base->uartsr) & UARTSR_DTF)) 74 73 return -EAGAIN; 75 74 ··· 196 195 #ifdef CONFIG_DEBUG_UART_LINFLEXUART 197 196 198 197 #include <debug_uart.h> 199 - 200 198 201 199 static inline void _debug_uart_init(void) 202 200 {
-1
drivers/serial/serial_lpuart.c
··· 101 101 } 102 102 } 103 103 104 - 105 104 u32 __weak get_lpuart_clk(void) 106 105 { 107 106 return get_board_sys_clk();
-1
drivers/serial/serial_nulldev.c
··· 31 31 { } 32 32 }; 33 33 34 - 35 34 const struct dm_serial_ops nulldev_serial_ops = { 36 35 .putc = nulldev_serial_putc, 37 36 .pending = nulldev_serial_pending,
-1
drivers/serial/serial_pl01x_internal.h
··· 92 92 #define UART_PL010_LCRH_PEN (1 << 1) 93 93 #define UART_PL010_LCRH_BRK (1 << 0) 94 94 95 - 96 95 #define UART_PL010_BAUD_460800 1 97 96 #define UART_PL010_BAUD_230400 3 98 97 #define UART_PL010_BAUD_115200 7
-8
drivers/serial/usbtty.c
··· 54 54 static circbuf_t usbtty_input; 55 55 static circbuf_t usbtty_output; 56 56 57 - 58 57 /* 59 58 * Instance variables 60 59 */ ··· 76 75 * Serial number 77 76 */ 78 77 static char serial_number[16]; 79 - 80 78 81 79 /* 82 80 * Descriptors, Strings, Local variables. ··· 257 255 .data_bits = 0x08 258 256 }; 259 257 260 - 261 258 /* 262 259 * Static Generic Serial specific data 263 260 */ 264 - 265 261 266 262 struct gserial_config_desc { 267 263 ··· 575 571 str2wide (CONFIG_USBD_MANUFACTURER, string->wData); 576 572 usbtty_string_table[STR_MANUFACTURER]=string; 577 573 578 - 579 574 string = (struct usb_string_descriptor *) wstrProduct; 580 575 string->bLength = sizeof(wstrProduct); 581 576 string->bDescriptorType = USB_DT_STRING; 582 577 str2wide (CONFIG_USBD_PRODUCT_NAME, string->wData); 583 578 usbtty_string_table[STR_PRODUCT]=string; 584 - 585 579 586 580 string = (struct usb_string_descriptor *) wstrSerial; 587 581 string->bLength = sizeof(serial_number); ··· 589 583 str2wide (serial_number, string->wData); 590 584 usbtty_string_table[STR_SERIAL]=string; 591 585 592 - 593 586 string = (struct usb_string_descriptor *) wstrConfiguration; 594 587 string->bLength = sizeof(wstrConfiguration); 595 588 string->bDescriptorType = USB_DT_STRING; 596 589 str2wide (CFG_USBD_CONFIGURATION_STR, string->wData); 597 590 usbtty_string_table[STR_CONFIG]=string; 598 - 599 591 600 592 string = (struct usb_string_descriptor *) wstrDataInterface; 601 593 string->bLength = sizeof(wstrDataInterface);