pinctrl: get_group_pins() const fixes
authorStephen Warren <swarren@nvidia.com>
Wed, 19 Oct 2011 22:19:25 +0000 (16:19 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 20 Oct 2011 09:41:49 +0000 (11:41 +0200)
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>

No differences found