On Tue, Sep 23, 2014 at 5:38 PM, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote: > > The fact that the same code appears in two places tells us something > is not quite right. Can you look into consolidating this (in a separate > patch)? Well, I already thought about that, but since the second time is for the second part of a dual gpio, which has different device tree property names, the only way of consolidating that I can think of right now would be to create a function that takes the property names. If you think that's ok, I can try to come up with something. Cheers, Gernot Vormayr -- 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