summaryrefslogtreecommitdiffstats
path: root/Documentation/pinctrl.txt
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2015-03-08 10:51:45 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-03-18 02:02:17 +0100
commit260463d4921468b9c0c018695ab09b3c2d15345b (patch)
tree9bb0e7d0576fee6237952e1f991c98741608688e /Documentation/pinctrl.txt
parentc445cac30781b99621df3a162bff9efcac411e9e (diff)
downloadlinux-260463d4921468b9c0c018695ab09b3c2d15345b.tar.gz
linux-260463d4921468b9c0c018695ab09b3c2d15345b.tar.bz2
linux-260463d4921468b9c0c018695ab09b3c2d15345b.zip
pinctrl: remove enable/disable callbacks from documentation
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>
Diffstat (limited to 'Documentation/pinctrl.txt')
-rw-r--r--Documentation/pinctrl.txt5
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