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

From: Rob Herring
Date: Tue Jul 18 2023 - 18:43:07 EST


On Tue, Jul 18, 2023 at 12:40:53AM +0300, Andy Shevchenko wrote:
> 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()?

+1