mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Acked-by: Kukjin Kim <[email protected]> Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
c3f78f0763
commit
007cd69433
1 changed files with 0 additions and 1 deletions
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Reference in a new issue