diff mbox

pinctrl: fix example .get_group_pins implementation signature

Message ID 209335cc0e7fecceb3ff8ffbae65550cd0776812.1425921630.git.baruch@tkos.co.il
State New
Headers show

Commit Message

Baruch Siach March 9, 2015, 5:20 p.m. UTC
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(-)

Comments

Linus Walleij March 17, 2015, 12:25 p.m. UTC | #1
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
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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;