On Wed, Aug 5, 2015 at 5:22 AM, Barry Song <21cnbao@xxxxxxxxx> wrote: > From: Wei Chen <Wei.Chen@xxxxxxx> > > To set/get atlas7 pull & drive strength, we use lots of if/else > to check pad type. But except mask value or immediate value, all > actions in these conditional branches are the same. > So we use predefined pull info table and drive strength table > to reduce these redundancy code. > > Signed-off-by: Wei Chen <Wei.Chen@xxxxxxx> > Signed-off-by: Barry Song <Baohua.Song@xxxxxxx> Patch applied. 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