serial: 8250: 8250_core: Fix irq name for 8250 serial IRQ
authorVignesh R <vigneshr@ti.com>
Fri, 24 Mar 2017 05:28:00 +0000 (10:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Mar 2017 14:56:10 +0000 (16:56 +0200)
commitb2c663d155e1df81fa55287effac3b7115abc210
tree825daa24d37e156c32a656d0832219e11d8bdd4d
parentf7048b15900f36fe21398fba94777b8aab3b376d
serial: 8250: 8250_core: Fix irq name for 8250 serial IRQ

Using dev_name() as IRQ name during request_irq() might be misleading in
case of serial over PCI. Therefore identify serial port IRQ using
uart_port's name field. This will help mapping IRQs to appropriate
ttySN(where N is the serial port index) instances.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c