pinctrl: sprd: Combine the condition of MISC_PIN and COMMON_PIN
authorBaolin Wang <baolin.wang@linaro.org>
Thu, 25 Jul 2019 09:56:31 +0000 (17:56 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Aug 2019 10:13:18 +0000 (12:13 +0200)
commit2f22e2028c03d95c47b077887297dfa068da2c8a
treef6ec5c3762b96ae6d73c094cee4f65639d2412a1
parente89febc75df909fadd43b76754778109a05383c0
pinctrl: sprd: Combine the condition of MISC_PIN and COMMON_PIN

Since the follow-up pin design on Spreadtrum platform has some changes,
some configuration of MISC_PIN moved to COMMON_PIN. To support current
pin design and keep backward compatibility, we should combine the
condition of MISC_PIN and COMMON_PIN to configure an individual pin.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Link: https://lore.kernel.org/r/17af5e761e0515d288a7ea4078ac9aa4a82a7a4e.1564048446.git.baolin.wang@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sprd/pinctrl-sprd.c