diff options
author | Baruch Siach <baruch@tkos.co.il> | 2015-03-08 10:51:45 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-06-28 13:39:16 -0400 |
commit | 66533089f5d7858271cfd260d6e47a2fee5692ff (patch) | |
tree | 923661e9be38db897f065cb274a5951a3edec6bb /Documentation | |
parent | 82401a7cd34576cdeb6a8351389026001e2c5e05 (diff) | |
download | lwn-66533089f5d7858271cfd260d6e47a2fee5692ff.tar.gz lwn-66533089f5d7858271cfd260d6e47a2fee5692ff.zip |
pinctrl: remove enable/disable callbacks from documentation
[ Upstream commit 260463d4921468b9c0c018695ab09b3c2d15345b ]
Commit 03e9f0cac5d (pinctrl: clean up after enable refactoring) updated the
documentation to remove mention of disable(), and rename enable() to set_mux().
One in-text mention was forgotten. Fix this.
Fixes: 03e9f0cac5d ('pinctrl: clean up after enable refactoring')
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/pinctrl.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/pinctrl.txt b/Documentation/pinctrl.txt index 348a8af8d06c..73fe71f5555d 100644 --- a/Documentation/pinctrl.txt +++ b/Documentation/pinctrl.txt @@ -569,9 +569,8 @@ is possible to perform the requested mux setting, poke the hardware so that this happens. Pinmux drivers are required to supply a few callback functions, some are -optional. Usually the enable() and disable() functions are implemented, -writing values into some certain registers to activate a certain mux setting -for a certain pin. +optional. Usually the set_mux() function is implemented, writing values into +some certain registers to activate a certain mux setting for a certain pin. A simple driver for the above example will work by setting bits 0, 1, 2, 3 or 4 into some register named MUX to select a certain function with a certain |