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. Thanks. -- Dmitry