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

From: Linus Walleij
Date: Thu Oct 20 2011 - 05:42:36 EST


On Thu, Oct 20, 2011 at 12:19 AM, Stephen Warren <swarren@xxxxxxxxxx> 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@xxxxxxxxxx>

Thanks, applied.
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/