On Thu, 2018-06-28 at 15:42 +0200, Linus Walleij wrote: > > Aha I see, you need that because while normally the gpiolib > does the conversion of desc -> offset this is needed here > in a driver. > > Maybe we should just name it gpiod_to_offset() or something > and make it a public API. > > But this is actually OK, you definately need it here, toss in some > comment or so about what is going on and why this is included > so we know in the future. Ok, I'll spin a v4 with the interface addition I need to pass the offsets to the coprocessor and will add that comment some time today. Cheers, Ben. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html