Messages in this thread | | | Date | Thu, 20 Oct 2011 11:42:34 +0200 | Subject | Re: [PATCH 1/4] pinctrl: get_group_pins() const fixes | From | Linus Walleij <> |
| |
On Thu, Oct 20, 2011 at 12:19 AM, Stephen Warren <swarren@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@nvidia.com>
Thanks, applied. Linus Walleij
| |