]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1bd92aef93ba2093c23dea99244b64bee6cb607
treeb13b9ecf342307ba0666a4f47569660ab09f7648
parent05eef358d7f6f94911ce8284741eef3da2fc1c43
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