lkml.org 
[lkml]   [2011]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/4] pinctrl: get_group_pins() const fixes
From
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


\
 
 \ /
  Last update: 2011-10-20 11:45    [from the cache]
©2003-2011 Jasper Spaans