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

Stephen Warren swarren at nvidia.com
Thu Feb 9 23:21:45 EST 2012


On 02/09/2012 04:47 PM, 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 at nvidia.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

> diff --git a/Documentation/pinctrl.txt b/Documentation/pinctrl.txt

> -PIN_MAP_PRIMARY_SYS_HOG("POWERMAP", "power_func")
> +PIN_MAP_PRIMARY_SYS_HOG("POWERMAP", "pinctrl-foo". "power_func")

That "." should be ",". Other than that,

Acked-by: Stephen Warren <swarren at nvidia.com>

-- 
nvpublic



More information about the linux-arm-kernel mailing list