From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753694Ab2HVEiv (ORCPT ); Wed, 22 Aug 2012 00:38:51 -0400 Received: from mail-lpp01m010-f46.google.com ([209.85.215.46]:48131 "EHLO mail-lpp01m010-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752445Ab2HVEit (ORCPT ); Wed, 22 Aug 2012 00:38:49 -0400 MIME-Version: 1.0 In-Reply-To: References: <1345060656-32201-1-git-send-email-thomas.abraham@linaro.org> <1345060656-32201-4-git-send-email-thomas.abraham@linaro.org> Date: Wed, 22 Aug 2012 10:08:48 +0530 Message-ID: Subject: Re: [PATCH v2 3/4] gpio: exynos4: skip gpiolib registration if pinctrl driver is used From: Thomas Abraham To: Linus Walleij Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, grant.likely@secretlab.ca, rob.herring@calxeda.com, kgene.kim@samsung.com, patches@linaro.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21 August 2012 17:35, Linus Walleij wrote: > On Wed, Aug 15, 2012 at 9:57 PM, Thomas Abraham > 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 >> Acked-by: Linus Walleij >> Signed-off-by: Thomas Abraham > >> +#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.