aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-02-22 07:01:34 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-28 19:36:45 -0500
commit436e4ab5fc85d3d198c292ff46ceb2fb142a39d1 (patch)
tree35cf14d913d3fc2cbb2f9b3c667d5ce6871add2c /drivers/tty/serial
parentda82f997240a7876a40aa196c60a1e462cc91e9f (diff)
serial: imx: Use dev_name() for request_irq() to distinguish UARTs
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/imx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index d1859724bf2a..37c39390efb7 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -1116,25 +1116,25 @@ static int imx_startup(struct uart_port *port)
1116 */ 1116 */
1117 if (sport->txirq > 0) { 1117 if (sport->txirq > 0) {
1118 retval = request_irq(sport->rxirq, imx_rxint, 0, 1118 retval = request_irq(sport->rxirq, imx_rxint, 0,
1119 DRIVER_NAME, sport); 1119 dev_name(port->dev), sport);
1120 if (retval) 1120 if (retval)
1121 goto error_out1; 1121 goto error_out1;
1122 1122
1123 retval = request_irq(sport->txirq, imx_txint, 0, 1123 retval = request_irq(sport->txirq, imx_txint, 0,
1124 DRIVER_NAME, sport); 1124 dev_name(port->dev), sport);
1125 if (retval) 1125 if (retval)
1126 goto error_out2; 1126 goto error_out2;
1127 1127
1128 /* do not use RTS IRQ on IrDA */ 1128 /* do not use RTS IRQ on IrDA */
1129 if (!USE_IRDA(sport)) { 1129 if (!USE_IRDA(sport)) {
1130 retval = request_irq(sport->rtsirq, imx_rtsint, 0, 1130 retval = request_irq(sport->rtsirq, imx_rtsint, 0,
1131 DRIVER_NAME, sport); 1131 dev_name(port->dev), sport);
1132 if (retval) 1132 if (retval)
1133 goto error_out3; 1133 goto error_out3;
1134 } 1134 }
1135 } else { 1135 } else {
1136 retval = request_irq(sport->port.irq, imx_int, 0, 1136 retval = request_irq(sport->port.irq, imx_int, 0,
1137 DRIVER_NAME, sport); 1137 dev_name(port->dev), sport);
1138 if (retval) { 1138 if (retval) {
1139 free_irq(sport->port.irq, sport); 1139 free_irq(sport->port.irq, sport);
1140 goto error_out1; 1140 goto error_out1;