serial: Prefer unsigned int to bare use of unsigned

Fix checkpatch warnings:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'

Signed-off-by: Jinchao Wang <wjc@cdjrlc.com>
Link: https://lore.kernel.org/r/20210624021207.58059-1-wjc@cdjrlc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jinchao Wang 2021-06-24 10:12:07 +08:00 committed by Greg Kroah-Hartman
parent b67e830d38
commit 5607fa6c3d
2 changed files with 2 additions and 2 deletions

View file

@ -617,7 +617,7 @@ static void mvebu_uart_putc(struct uart_port *port, int c)
static void mvebu_uart_putc_early_write(struct console *con,
const char *s,
unsigned n)
unsigned int n)
{
struct earlycon_device *dev = con->data;

View file

@ -1149,7 +1149,7 @@ static void cdns_uart_console_putchar(struct uart_port *port, int ch)
}
static void cdns_early_write(struct console *con, const char *s,
unsigned n)
unsigned int n)
{
struct earlycon_device *dev = con->data;