diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-02-08 14:39:30 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-02-10 20:16:36 +0100 |
commit | 007cd694332e6d5f57ef76431d2372c958b85a21 (patch) | |
tree | a45ff368b7c0cdca3b0bccedd9704192b32efda4 /drivers/pinctrl | |
parent | c3f78f07639c286fb9df25c0c55e42e1401830d8 (diff) | |
download | op-kernel-dev-007cd694332e6d5f57ef76431d2372c958b85a21.zip op-kernel-dev-007cd694332e6d5f57ef76431d2372c958b85a21.tar.gz |
pinctrl: samsung: remove duplicated line
This patch removes duplicated line of samsung_pinctrl_register(),
because the number of pins is redundantly assigned twice.
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/pinctrl-samsung.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-samsung.c b/drivers/pinctrl/pinctrl-samsung.c index fd7b24c..5c20ed0 100644 --- a/drivers/pinctrl/pinctrl-samsung.c +++ b/drivers/pinctrl/pinctrl-samsung.c @@ -716,7 +716,6 @@ static int samsung_pinctrl_register(struct platform_device *pdev, } ctrldesc->pins = pindesc; ctrldesc->npins = drvdata->ctrl->nr_pins; - ctrldesc->npins = drvdata->ctrl->nr_pins; /* dynamically populate the pin number and pin name for pindesc */ for (pin = 0, pdesc = pindesc; pin < ctrldesc->npins; pin++, pdesc++) |