On Sun, Sep 14, 2014 at 3:56 PM, Fabian Frederick <fabf@xxxxxxxxx> wrote: > Use container_of instead of casting first structure member. > > Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx> > --- > Compiled but untested. Patch applied. The existing code is unintelligible, so thanks a lot. 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