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