On Sun, Oct 11, 2015 at 5:48 PM, Jonas Gorski <jogo@xxxxxxxxxxx> wrote: > Allow registering gpio chip with ranges at the same time, so we know > at registration time whether there is an associated pin controller. > > This allows us to automatically populate the request/free callbacks, > so that drivers are free to omit the assignment, if they do not need > any special handling. > > Signed-off-by: Jonas Gorski <jogo@xxxxxxxxxxx> I think this looks elegant. I guess this will work nicely for pl061 where we just set the range from DT? Yours, Linus Walleij -- 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