[PATCH v2 3/4] gpio: exynos4: skip gpiolib registration if pinctrl driver is used
Thomas Abraham
thomas.abraham at linaro.org
Wed Aug 22 00:38:48 EDT 2012
On 21 August 2012 17:35, Linus Walleij <linus.walleij at linaro.org> wrote:
> 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?
Yes, this would be better. I will fix this.
>
> Yours,
> Linus Walleij
Thanks,
Thomas.
More information about the linux-arm-kernel
mailing list