On Tue, Aug 6, 2013 at 3:12 PM, Laxman Dewangan <ldewangan@xxxxxxxxxx> wrote: > Some of pincontrol driver needs the utility function to create map > list. The utility function needed for adding mux, configs etc. > > In place of duplicating this in each driver, add the common utility > function in common file and use from device specific driver. This will > reduce the duplicating of code across drivers. > > Signed-off-by: Laxman Dewangan <ldewangan@xxxxxxxxxx> > Reviewed-by: Stephen Warren <swarren@xxxxxxxxxx> > --- > Changes from V1: > - Add this files in this patch and add common utility APIs to here. > > Changes from V2: > - Nothing in code. > - Added Reviewed by Stephen. This v3 version applied, thanks! Would it be complicated to create a few follow-on patches to other drivers pulling their boilerplate into these utils? Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html