On Tuesday 06 August 2013 03:07 AM, Stephen Warren wrote:
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>
Thanks for review.
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.
Yes, I will have the patches for Tegra also to use these common utils
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