Re: [PATCH V3 1/3] pinctrl: add utility functions for add map/configs

From: Linus Walleij
Date: Wed Aug 14 2013 - 14:05:49 EST

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?

Linus Walleij
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at