projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9edaf50
)
serial: imx: Use dev_info() instead of pr_info()
author
Fabio Estevam
<festevam@gmail.com>
Tue, 4 Jun 2019 03:31:39 +0000
(
00:31
-0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 10 Jun 2019 17:12:09 +0000
(19:12 +0200)
dev_info() is more appropriate for printing messages inside drivers, so
switch to dev_info().
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/imx.c
b/drivers/tty/serial/imx.c
index
8b752e8
..
d8eadab
100644
(file)
--- a/
drivers/tty/serial/imx.c
+++ b/
drivers/tty/serial/imx.c
@@
-2015,7
+2015,7
@@
imx_uart_console_get_options(struct imx_port *sport, int *baud,
}
if (*baud != baud_raw)
-
pr_info(
"Console IMX rounded baud rate from %d to %d\n",
+
dev_info(sport->port.dev,
"Console IMX rounded baud rate from %d to %d\n",
baud_raw, *baud);
}
}