[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdaAfQv4_jhwc=eTFw2DsG5Ryidkn8Hg85+bAsUbAYmqiQ@mail.gmail.com>
Date: Thu, 20 Oct 2011 11:42:34 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Stephen Warren <swarren@...dia.com>
Cc: Linus Walleij <linus.walleij@...ricsson.com>,
linux-kernel@...r.kernel.org, Barry Song <21cnbao@...il.com>,
Shawn Guo <shawn.guo@...escale.com>,
Sascha Hauer <s.hauer@...gutronix.de>,
David Brown <davidb@...eaurora.org>,
Grant Likely <grant.likely@...retlab.ca>,
Rongjun Ying <Rongjun.Ying@....com>,
Linaro Dev <linaro-dev@...ts.linaro.org>
Subject: Re: [PATCH 1/4] pinctrl: get_group_pins() const fixes
On Thu, Oct 20, 2011 at 12:19 AM, Stephen Warren <swarren@...dia.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@...dia.com>
Thanks, applied.
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists