Re: [PATCH 3/3] gpio: regmap: Support a custom ->to_irq() hook

From: Andy Shevchenko
Date: Wed Jul 06 2022 - 07:46:44 EST


On Tue, Jul 5, 2022 at 1:22 PM Aidan MacDonald
<aidanmacdonald.0x0@xxxxxxxxx> wrote:

...

> Is that really better than simply using ->to_irq()?

We have Intel PMIC drivers (that are in MFD) and they have respective
GPIO drivers, none of them is using ->to_irq() and all of them provide
IRQ functionality. Can it be taken as an example or is it something
quite different to your hardware?

--
With Best Regards,
Andy Shevchenko