summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-utils.h
AgeCommit message (Collapse)Author
2013-09-14pinctrl: add utility functions for add map/configsLaxman Dewangan
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. 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. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> (cherry picked from commit 1eb207a9ecaafb980704d8bc055a9a0269f62f8e) Change-Id: I96612c3f46d3466d62fe90f518b75c132e40d771 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/267318 GVS: Gerrit_Virtual_Submit