Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 007cd694 authored by Jingoo Han's avatar Jingoo Han Committed by Linus Walleij
Browse files

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: default avatarTomasz Figa <t.figa@samsung.com>
Acked-by: default avatarKukjin Kim <kgene.kim@samsung.com>
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent c3f78f07
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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++)