Re: [PATCH 1/2] of/irq: Export of_irq_count()

From: Andy Shevchenko
Date: Mon Jul 17 2023 - 17:41:36 EST


On Mon, Jul 17, 2023 at 11:54 PM Samuel Holland
<samuel.holland@xxxxxxxxxx> wrote:
>
> This function is used by the SiFive GPIO driver. Export it so that
> driver can be built as a module.

Can we rather reduce use of of_*() APIs?
For example, why not use platform_irq_count()?

--
With Best Regards,
Andy Shevchenko