diff options
author | Chanho Park <chanho61.park@samsung.com> | 2012-01-03 02:47:51 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-01-03 03:10:09 -0500 |
commit | 0d2006bbf09e817f125ba1e42b2549bc2c5d7351 (patch) | |
tree | f452f0a77705139763448c5676f6118270285439 /drivers/pinctrl/pinctrl-u300.c | |
parent | 706e8520e8450a631ca6f798f8c811faf56f0a59 (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-u300.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-u300.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-u300.c b/drivers/pinctrl/pinctrl-u300.c index 7e89b367a7e5..c8d02f1c2b5e 100644 --- a/drivers/pinctrl/pinctrl-u300.c +++ b/drivers/pinctrl/pinctrl-u300.c | |||
@@ -1048,7 +1048,6 @@ static struct pinctrl_desc u300_pmx_desc = { | |||
1048 | .name = DRIVER_NAME, | 1048 | .name = DRIVER_NAME, |
1049 | .pins = u300_pads, | 1049 | .pins = u300_pads, |
1050 | .npins = ARRAY_SIZE(u300_pads), | 1050 | .npins = ARRAY_SIZE(u300_pads), |
1051 | .maxpin = U300_NUM_PADS-1, | ||
1052 | .pctlops = &u300_pctrl_ops, | 1051 | .pctlops = &u300_pctrl_ops, |
1053 | .pmxops = &u300_pmx_ops, | 1052 | .pmxops = &u300_pmx_ops, |
1054 | .owner = THIS_MODULE, | 1053 | .owner = THIS_MODULE, |