commit | a5818a8bd095a08cfb1871b63af9c8bed103e4b9 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Wed Oct 19 16:19:25 2011 -0600 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Oct 20 11:41:49 2011 +0200 |
tree | 7fc2ade1186cc42877f21a0eead3843515b914be | |
parent | 393daa814f4bbc6f5c099178c073fae9f7ef6177 [diff] |
pinctrl: get_group_pins() const fixes get_group_pins() "returns" a pointer to an array of const objects, through a pointer parameter. Fix the prototype so what's pointed at by the returned pointer is const, rather than the function parameter being const. This also allows the removal of a cast in each of the two current pinmux drivers. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>