2019-01-21 14:40:32

by Ramon Fried

[permalink] [raw]
Subject: [PATCH] pinctrl.txt: Remove outdated information

Returning -EAGAIN is no longer supported by pin_config_group_set()
since ad42fc6c8479 ("pinctrl: rip out the direct pinconf API")

Remove the relevant section from the documentation.

Signed-off-by: Ramon Fried <[email protected]>
---
Documentation/driver-api/pinctl.rst | 9 ---------
1 file changed, 9 deletions(-)

diff --git a/Documentation/driver-api/pinctl.rst b/Documentation/driver-api/pinctl.rst
index 6cb68d67fa75..2bb1bc484278 100644
--- a/Documentation/driver-api/pinctl.rst
+++ b/Documentation/driver-api/pinctl.rst
@@ -274,15 +274,6 @@ configuration in the pin controller ops like this::
.confops = &foo_pconf_ops,
};

-Since some controllers have special logic for handling entire groups of pins
-they can exploit the special whole-group pin control function. The
-pin_config_group_set() callback is allowed to return the error code -EAGAIN,
-for groups it does not want to handle, or if it just wants to do some
-group-level handling and then fall through to iterate over all pins, in which
-case each individual pin will be treated by separate pin_config_set() calls as
-well.
-
-
Interaction with the GPIO subsystem
===================================

--
2.17.1



2019-01-28 09:09:00

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] pinctrl.txt: Remove outdated information

On Mon, Jan 21, 2019 at 3:38 PM Ramon Fried <[email protected]> wrote:

> Returning -EAGAIN is no longer supported by pin_config_group_set()
> since ad42fc6c8479 ("pinctrl: rip out the direct pinconf API")
>
> Remove the relevant section from the documentation.
>
> Signed-off-by: Ramon Fried <[email protected]>

Patch applied!

Yours,
Linus Walleij