pinctrl: qcom: remove static globals to allow multiple TLMMs
authorTimur Tabi <timur@codeaurora.org>
Wed, 25 Apr 2018 22:43:26 +0000 (17:43 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 2 May 2018 12:36:08 +0000 (14:36 +0200)
commitf265e8b91bb50c7a732a171ddaeb0eef143bacd9
tree5941f41d7bf66f47e3f29af6634a9c0f41cb3b9b
parent2242ddfbf4d699b58d12467bbebae167d7563700
pinctrl: qcom: remove static globals to allow multiple TLMMs

Two data structures are declared as static globals but are intended to
be per-TLMM.  Move them into the msm_pinctrl structure and initialize
them at runtime.

Signed-off-by: Timur Tabi <timur@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-msm.c