Skip to content

Commit

Permalink
serial: imx: Use dev_info() instead of pr_info()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Greg Kroah-Hartman committed Jun 10, 2019
1 parent 9edaf50 commit f5a9e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit f5a9e5f

Please sign in to comment.