serial: altera_jtaguart: Use device name when requesting IRQ
authorTobias Klauser <tklauser@distanz.ch>
Tue, 3 Dec 2024 13:25:56 +0000 (14:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2024 15:35:43 +0000 (16:35 +0100)
commitb8c8748b60ac15d0536c46c6b0d514483e46486c
treee05e8cad170d96251f323de138d6bad45316c0b7
parentcdd30ebb1b9f36159d66f088b61aee264e649d7a
serial: altera_jtaguart: Use device name when requesting IRQ

The request_irq name parameter should be the device name, not the driver
name. This leads to more informative information in /proc/interrupts.

Before this patch:

$ cat /proc/interrupts
...
40:        123          0     GIC-0  72 Level     altera_jtaguart

After this patch:

$ cat /proc/interrupts
...
40:          6          0     GIC-0  72 Level     ff200100.fpga-juart0

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Link: https://lore.kernel.org/r/20241203132556.14182-1-tklauser@distanz.ch
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/altera_jtaguart.c