Re: [PATCH] pinctrl: changes hog mechanism to be self-referential

From: Dong Aisheng
Date: Thu Feb 09 2012 - 20:30:49 EST


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@xxxxxxxxxx>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>

Regards
Dong Aisheng
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/