On 08/05/2013 01:33 AM, Laxman Dewangan wrote:Some of pincontrol driver needs the utility function to create mapThis patch,
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.
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.