projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3f78f0
)
pinctrl: samsung: remove duplicated line
author
Jingoo Han
<
[email protected]
>
Fri, 8 Feb 2013 05:39:30 +0000
(14:39 +0900)
committer
Linus Walleij
<
[email protected]
>
Sun, 10 Feb 2013 19:16:36 +0000
(20:16 +0100)
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]
>
drivers/pinctrl/pinctrl-samsung.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/pinctrl-samsung.c
b/drivers/pinctrl/pinctrl-samsung.c
index fd7b24cd89084d923dd2cc1cc2a581695a040deb..5c20ed056054035eecf80d3ed3718bf5729127a5 100644
(file)
--- 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++)