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

2011-10-20 Thread Linus Walleij
On Thu, Oct 20, 2011 at 12:19 AM, Stephen Warren 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 allo

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

2011-10-19 Thread Stephen Warren
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.