Messages in this thread | | | Date | Thu, 9 Feb 2012 17:30:41 -0800 | From | Dong Aisheng <> | Subject | Re: [PATCH] pinctrl: changes hog mechanism to be self-referential |
| |
On Fri, Feb 10, 2012 at 01:47:48AM +0100, Linus Walleij wrote: > 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. > > Suggested-by: Stephen Warren <swarren@nvidia.com> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > --- > Documentation/pinctrl.txt | 8 ++++---- > drivers/pinctrl/core.c | 6 ++---- > include/linux/pinctrl/machine.h | 18 ++++++------------ > 3 files changed, 12 insertions(+), 20 deletions(-) >
A good cleanup. Make the next pinctrl core dt binding a little easy for hog things. Greatly hope this in.
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Regards Dong Aisheng
| |