serial: Rename ns16550 functions to lower case

Lower case should be used for function names. Update this driver and its
callers accordingly.

Signed-off-by: Simon Glass <sjg@chromium.org>

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
Simon Glass
2020-12-22 19:30:19 -07:00
parent d30c7209df
commit 2d6bf754ce
20 changed files with 54 additions and 53 deletions

View File

@@ -222,11 +222,11 @@ struct ns16550 {
/* useful defaults for LCR */
#define UART_LCR_8N1 0x03
void NS16550_init(struct ns16550 *com_port, int baud_divisor);
void NS16550_putc(struct ns16550 *com_port, char c);
char NS16550_getc(struct ns16550 *com_port);
int NS16550_tstc(struct ns16550 *com_port);
void NS16550_reinit(struct ns16550 *com_port, int baud_divisor);
void ns16550_init(struct ns16550 *com_port, int baud_divisor);
void ns16550_putc(struct ns16550 *com_port, char c);
char ns16550_getc(struct ns16550 *com_port);
int ns16550_tstc(struct ns16550 *com_port);
void ns16550_reinit(struct ns16550 *com_port, int baud_divisor);
/**
* ns16550_calc_divisor() - calculate the divisor given clock and baud rate