]> git.karo-electronics.de Git - mv-sheeva.git/commit
pinctrl: changes hog mechanism to be self-referential
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 10 Feb 2012 00:34:12 +0000 (01:34 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 10 Feb 2012 20:33:10 +0000 (21:33 +0100)
commit77a5988355f993840928d195f790a939200a4ff0
treeb2590450fb4c5e956ddfc119e6bb610ce53aa8a9
parentbefe5bdfbb698b3bc57c58d0bd7ca3391c9275ed
pinctrl: changes hog mechanism to be self-referential

Instead of a specific boolean field to indicate if a map entry shall
be hogged, treat self-reference as an indication of desired hogging.
This drops one field off the map struct and has a nice Douglas R.
Hofstadter-feel to it.

Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/pinctrl.txt
drivers/pinctrl/core.c
include/linux/pinctrl/machine.h