From: Stefan Wahren Date: Wed, 5 Feb 2025 09:10:07 +0000 (+0100) Subject: tty: serial: fsl_lpuart: Make interrupt name distinct X-Git-Tag: v6.15-rc1~47^2~67 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b5bbace353ad654d8a562dbfea88de7d694e44a7;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Peng Fan Link: https://lore.kernel.org/r/20250205091007.4528-1-wahrenst@gmx.net Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c index c91b9d9818cd8..91d02c55c4707 100644 --- a/drivers/tty/serial/fsl_lpuart.c +++ b/drivers/tty/serial/fsl_lpuart.c @@ -2954,7 +2954,7 @@ static int lpuart_probe(struct platform_device *pdev) goto failed_attach_port; ret = devm_request_irq(&pdev->dev, sport->port.irq, handler, 0, - DRIVER_NAME, sport); + dev_name(&pdev->dev), sport); if (ret) goto failed_irq_request;