[RFC] mfd: mt6358: Using a single IRQ array instead of two companion arrays?

Markus Elfring Markus.Elfring at web.de
Wed Nov 19 07:52:32 PST 2025


Hello,

I have taken another look also at the implementation of the function “mt6358_irq_init”.
https://elixir.bootlin.com/linux/v6.18-rc6/source/drivers/mfd/mt6358-irq.c#L227-L293

I see that there are two arrays allocated so far.
How do you think about the possibility to use a single array with the needed data instead?

Regards,
Markus



More information about the Linux-mediatek mailing list