Re: [PATCH 2/5] gpiolib: of: stop exporting of_gpio_named_count()
From: Andy Shevchenko
Date: Tue Dec 20 2022 - 14:15:36 EST
On Tue, Dec 20, 2022 at 10:27:28AM -0800, Dmitry Torokhov wrote:
> On Tue, Dec 20, 2022 at 03:50:40PM +0200, Andy Shevchenko wrote:
> > On Mon, Dec 19, 2022 at 11:20:13AM -0800, Dmitry Torokhov wrote:
> > > The only user of this function is gpiolib-of.c so move it there.
> >
> > It's one liner used a single file, can we kill it completely?
>
> It is being called from a couple of places there and documents how
> exactly we are counting GPIOs, so I would prefer to leave this helper as
> is.
Fair enough. However I think that even so it may be killed in the future.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
--
With Best Regards,
Andy Shevchenko