aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-sirf.c
diff options
context:
space:
mode:
authorChanho Park <chanho61.park@samsung.com>2012-01-03 02:47:51 -0500
committerLinus Walleij <linus.walleij@linaro.org>2012-01-03 03:10:09 -0500
commit0d2006bbf09e817f125ba1e42b2549bc2c5d7351 (patch)
treef452f0a77705139763448c5676f6118270285439 /drivers/pinctrl/pinctrl-sirf.c
parent706e8520e8450a631ca6f798f8c811faf56f0a59 (diff)
pinctrl: remove unnecessary max pin number
This patch removes maxpin member in the pin control descriptor because we don't need this value as we enumerate a pin space using offset. Signed-off-by: Chanho Park <chanho61.park@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-sirf.c')
-rw-r--r--drivers/pinctrl/pinctrl-sirf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-sirf.c b/drivers/pinctrl/pinctrl-sirf.c
index 99e688e07ea0..6b3534cc051a 100644
--- a/drivers/pinctrl/pinctrl-sirf.c
+++ b/drivers/pinctrl/pinctrl-sirf.c
@@ -1086,7 +1086,6 @@ static struct pinctrl_desc sirfsoc_pinmux_desc = {
1086 .name = DRIVER_NAME, 1086 .name = DRIVER_NAME,
1087 .pins = sirfsoc_pads, 1087 .pins = sirfsoc_pads,
1088 .npins = ARRAY_SIZE(sirfsoc_pads), 1088 .npins = ARRAY_SIZE(sirfsoc_pads),
1089 .maxpin = SIRFSOC_NUM_PADS - 1,
1090 .pctlops = &sirfsoc_pctrl_ops, 1089 .pctlops = &sirfsoc_pctrl_ops,
1091 .pmxops = &sirfsoc_pinmux_ops, 1090 .pmxops = &sirfsoc_pinmux_ops,
1092 .owner = THIS_MODULE, 1091 .owner = THIS_MODULE,