diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-02-20 01:45:42 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-02-22 11:59:31 -0500 |
commit | 8b9c139f166cd55d76728a5910fa862a4e16e833 (patch) | |
tree | 7c2090cea5e0961d8a710f36eb2b3fb5f032459c /drivers/pinctrl/pinmux.c | |
parent | 13398a4b90c87f0250928f01b5735a157fcc0847 (diff) |
pinctrl: use list_add_tail instead of list_add
This mostly makes debugfs files print things in the order that they
were added or acquired, which just feels a little more consistent.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinmux.c')
-rw-r--r-- | drivers/pinctrl/pinmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinmux.c b/drivers/pinctrl/pinmux.c index fe4a00751c60..5a09cd202208 100644 --- a/drivers/pinctrl/pinmux.c +++ b/drivers/pinctrl/pinmux.c | |||
@@ -480,7 +480,7 @@ static int pinmux_enable_muxmap(struct pinctrl_dev *pctldev, | |||
480 | kfree(grp); | 480 | kfree(grp); |
481 | return ret; | 481 | return ret; |
482 | } | 482 | } |
483 | list_add(&grp->node, &p->groups); | 483 | list_add_tail(&grp->node, &p->groups); |
484 | 484 | ||
485 | return 0; | 485 | return 0; |
486 | } | 486 | } |