pinctrl: msm: Make number of functions variable
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Mon, 31 Mar 2014 21:49:55 +0000 (14:49 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Apr 2014 06:41:34 +0000 (08:41 +0200)
commit3c25381f9b3375c326f5ead194cb91b5ac181f08
treeb13b9ecf342307ba0666a4f47569660ab09f7648
parent130cbe3082a1d69e7009b8c1dabb44babedd9269
pinctrl: msm: Make number of functions variable

The various pins may have different number of functions defined, so make this
number definable per pin instead of just increasing it to the largest one for
all of the platforms.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-msm.c
drivers/pinctrl/pinctrl-msm.h
drivers/pinctrl/pinctrl-msm8x74.c