From: Yingjoe Chen Date: Tue, 19 May 2015 06:11:15 +0000 (-0700) Subject: pinctrl: mediatek: add mtk_pctrl_spec_pull_set_samereg common code X-Git-Tag: omap-for-v4.3/legacy-v2-signed~161^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e73fe2713fc9e8ab8d2d039abc48f7684b60f5ac;p=pandora-kernel.git pinctrl: mediatek: add mtk_pctrl_spec_pull_set_samereg common code Several mediatek soc use similar pull setting procedure as mt8173, the pupd enable and resistance setting are in the same register. Add common code mtk_pctrl_spec_pull_set_samereg out of spec_pull_set in mt8173 to handle this case, so future soc driver can use it. Signed-off-by: Yingjoe Chen Signed-off-by: Hongzhou Yang Signed-off-by: Linus Walleij --- Reading git-diff-tree failed