Skip to content

Commit b5bbace

Browse files
lategoodbyegregkh
authored andcommitted
tty: serial: fsl_lpuart: Make interrupt name distinct
SoCs like the i.MX93 have several lpuart interfaces, but fsl_lpuart uses the driver name to request the IRQ. This makes it hard to identify interfaces from outputs like /proc/interrupts . So use the dev_name() for requesting instead. Signed-off-by: Stefan Wahren <[email protected]> Reviewed-by: Peng Fan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent b6ad40c commit b5bbace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/fsl_lpuart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2954,7 +2954,7 @@ static int lpuart_probe(struct platform_device *pdev)
29542954
goto failed_attach_port;
29552955

29562956
ret = devm_request_irq(&pdev->dev, sport->port.irq, handler, 0,
2957-
DRIVER_NAME, sport);
2957+
dev_name(&pdev->dev), sport);
29582958
if (ret)
29592959
goto failed_irq_request;
29602960

0 commit comments

Comments
 (0)