[PATCH v2 3/4] gpio: exynos4: skip gpiolib registration if pinctrl driver is used

Linus Walleij linus.walleij at linaro.org
Tue Aug 21 08:05:22 EDT 2012


On Wed, Aug 15, 2012 at 9:57 PM, Thomas Abraham
<thomas.abraham at linaro.org> wrote:

> Pinctrl driver, when enabled, registers all the gpio pins and hence the
> registration of gpio pins by this driver can be skipped.
>
> Acked-by: Grant Likely <grant.likely at secretlab.ca>
> Acked-by: Linus Walleij <linus.walleij at linaro.org>
> Signed-off-by: Thomas Abraham <thomas.abraham at linaro.org>

> +#ifdef CONFIG_OF

Wouldn't it be better to use
#ifdef CONFIG_PINCTRL_SAMSUNG?

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list