From: Laxman Dewangan Date: Wed, 21 Aug 2013 11:23:37 +0000 (+0530) Subject: pinctrl: utils : add support to pass config type in generic util APIs X-Git-Tag: v3.12-rc1~151^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3287c24088abded9f111ca797fdd36f86912d199;p=pandora-kernel.git pinctrl: utils : add support to pass config type in generic util APIs Add support to pass the config type like GROUP or PIN when using the utils or generic pin configuration APIs. This will make the APIs more generic. Added additional inline APIs such that it can be use directly as callback for the pinctrl_ops. Changes from V1: - Remove separate implementation for pins and group for pinctrl_utils_dt_free_map and improve this function to support both i.e. PINS and GROUPs. Signed-off-by: Laxman Dewangan Reviewed-by: Stephen Warren Tested-by: Stephen Warren Signed-off-by: Linus Walleij --- Reading git-diff-tree failed