* [PATCH] pinctrl: fix example .get_group_pins implementation signature
@ 2015-03-09 17:20 Baruch Siach
2015-03-17 12:25 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2015-03-09 17:20 UTC (permalink / raw)
To: Linus Walleij; +Cc: linux-gpio, Baruch Siach, Stephen Warren
The callback function signature has changed in commit a5818a8bd0 (pinctrl:
get_group_pins() const fixes)
Fixes: a5818a8bd0 ('pinctrl: get_group_pins() const fixes')
Cc: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
Documentation/pinctrl.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/pinctrl.txt b/Documentation/pinctrl.txt
index b8f2147b96dd..d5ba20c8f8c7 100644
--- a/Documentation/pinctrl.txt
+++ b/Documentation/pinctrl.txt
@@ -164,8 +164,8 @@ static const char *foo_get_group_name(struct pinctrl_dev *pctldev,
}
static int foo_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector,
- unsigned ** const pins,
- unsigned * const num_pins)
+ const unsigned **pins,
+ unsigned *num_pins)
{
*pins = (unsigned *) foo_groups[selector].pins;
*num_pins = foo_groups[selector].num_pins;
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pinctrl: fix example .get_group_pins implementation signature
2015-03-09 17:20 [PATCH] pinctrl: fix example .get_group_pins implementation signature Baruch Siach
@ 2015-03-17 12:25 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2015-03-17 12:25 UTC (permalink / raw)
To: Baruch Siach; +Cc: linux-gpio, Stephen Warren
On Mon, Mar 9, 2015 at 6:20 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> The callback function signature has changed in commit a5818a8bd0 (pinctrl:
> get_group_pins() const fixes)
>
> Fixes: a5818a8bd0 ('pinctrl: get_group_pins() const fixes')
> Cc: Stephen Warren <swarren@nvidia.com>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-17 12:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-09 17:20 [PATCH] pinctrl: fix example .get_group_pins implementation signature Baruch Siach
2015-03-17 12:25 ` Linus Walleij
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.