[PATCH 15/17] i3c: renesas: Use the "dev_name:irq_name" format for the interrupt name
Frank Li
Frank.li at nxp.com
Fri May 22 12:51:48 PDT 2026
On Fri, May 22, 2026 at 01:18:13PM +0300, Claudiu Beznea wrote:
> From: Claudiu Beznea <claudiu.beznea.uj at bp.renesas.com>
>
> Use the "dev_name:irq_name" format for the interrupt names. This makes it
> easier to identify interrupts in systems where multiple devices may request
> interrupts with the same name.
>
> Signed-off-by: Claudiu Beznea <claudiu.beznea.uj at bp.renesas.com>
> ---
Reviewed-by: Frank Li <Frank.Li at nxp.com>
> drivers/i3c/master/renesas-i3c.c | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/i3c/master/renesas-i3c.c b/drivers/i3c/master/renesas-i3c.c
> index 5614ed99553c..e6e05ac03082 100644
> --- a/drivers/i3c/master/renesas-i3c.c
> +++ b/drivers/i3c/master/renesas-i3c.c
> @@ -1385,12 +1385,19 @@ static int renesas_i3c_probe(struct platform_device *pdev)
> return ret;
>
> for (i = 0; i < ARRAY_SIZE(renesas_i3c_irqs); i++) {
> + const char *irqname;
> +
> ret = platform_get_irq_byname(pdev, renesas_i3c_irqs[i].name);
> if (ret < 0)
> return ret;
>
> + irqname = devm_kasprintf(&pdev->dev, GFP_KERNEL, "%s:%s", dev_name(&pdev->dev),
> + renesas_i3c_irqs[i].desc);
> + if (!irqname)
> + return -ENOMEM;
> +
> ret = devm_request_irq(&pdev->dev, ret, renesas_i3c_irqs[i].isr,
> - 0, renesas_i3c_irqs[i].desc, i3c);
> + 0, irqname, i3c);
> if (ret)
> return ret;
> }
> --
> 2.43.0
>
More information about the linux-i3c
mailing list