[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VeD=R2kp4wbCkJUEzi3TP4GXAhciAdWkQm247tgwR7-Ww@mail.gmail.com>
Date: Tue, 18 Jul 2023 00:40:53 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Samuel Holland <samuel.holland@...ive.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
Andy Shevchenko <andy@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Frank Rowand <frowand.list@...il.com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] of/irq: Export of_irq_count()
On Mon, Jul 17, 2023 at 11:54 PM Samuel Holland
<samuel.holland@...ive.com> 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
Powered by blists - more mailing lists