commit | 3764bdde1dc2fe53a87db1777440c2532cfccd58 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Thu Nov 08 10:27:29 2012 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Nov 08 22:37:54 2012 +0100 |
tree | af47667c7addef0c82496dddb1e25e2de5681d83 | |
parent | 65b6ca466748a8e0a906e40a470e1582bc565d79 [diff] |
gpio: mvebu: Set free callback for gpio_chip We call pinctrl_request_gpio() in request callback, thus we need to call pinctrl_free_gpio() in free callback. Both mvebu_gpio_request() and mvebu_gpio_free() are not referenced outside of this file, make them static. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>