[PATCH 1/4] pinctrl: get_group_pins() const fixes

Linus Walleij linus.walleij at linaro.org
Thu Oct 20 09:42:34 UTC 2011


On Thu, Oct 20, 2011 at 12:19 AM, Stephen Warren <swarren at nvidia.com> wrote:

> 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 at nvidia.com>

Thanks, applied.
Linus Walleij



More information about the linaro-dev mailing list