diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-02-19 23:45:42 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-02-22 17:59:31 +0100 |
commit | 8b9c139f166cd55d76728a5910fa862a4e16e833 (patch) | |
tree | 7c2090cea5e0961d8a710f36eb2b3fb5f032459c /drivers/pinctrl/pinmux.c | |
parent | 13398a4b90c87f0250928f01b5735a157fcc0847 (diff) | |
download | talos-op-linux-8b9c139f166cd55d76728a5910fa862a4e16e833.tar.gz talos-op-linux-8b9c139f166cd55d76728a5910fa862a4e16e833.zip |
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, kfree(grp); return ret; } - list_add(&grp->node, &p->groups); + list_add_tail(&grp->node, &p->groups); return 0; } |