On 08/05/2013 01:33 AM, Laxman Dewangan 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. This patch, Reviewed-by: Stephen Warren <swarren@xxxxxxxxxx> Some more documentation mnight be useful though, now these are common utility functions rather than just some internal functions in the Tegra pinctrl driver. Hopefully there will be a patch to convert at least the Tegra pinctrl driver to use these new functions. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html