From patchwork Thu Dec 13 11:54:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Abraham X-Patchwork-Id: 1871911 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 20046DF2EF for ; Thu, 13 Dec 2012 11:29:04 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tj6t0-0007oH-FY; Thu, 13 Dec 2012 11:23:31 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tj6sv-0007mv-VZ for linux-arm-kernel@lists.infradead.org; Thu, 13 Dec 2012 11:23:26 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MEY00BOWVN0NVV0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 13 Dec 2012 20:23:24 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-20-50c9baacc325 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id ED.7D.12699.CAAB9C05; Thu, 13 Dec 2012 20:23:24 +0900 (KST) Received: from localhost.localdomain ([107.108.73.37]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MEY00KX7VIGR310@mmp1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 13 Dec 2012 20:23:24 +0900 (KST) From: Thomas Abraham To: linux-kernel@vger.kernel.org Subject: [PATCH 2/3] gpio: samsung: skip gpiolib registration if pinctrl support is enabled for exynos5250 Date: Thu, 13 Dec 2012 17:24:03 +0530 Message-id: <1355399644-29417-3-git-send-email-thomas.abraham@linaro.org> X-Mailer: git-send-email 1.6.6.rc2 In-reply-to: <1355399644-29417-1-git-send-email-thomas.abraham@linaro.org> References: <1355399644-29417-1-git-send-email-thomas.abraham@linaro.org> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIJMWRmVeSWpSXmKPExsVy+t9jAd01u04GGBxutbDY9PgaqwOjx+Yl 9QGMUVw2Kak5mWWpRfp2CVwZP1rPshYcY6vY/+YCewPjCdYuRk4OCQETifeP17JA2GISF+6t Z+ti5OIQEljEKNH7ZAIrhLOeSeLXui9MIFVsAgYSjxa+YwexRQQUJDb3PgMrYhZYwShxousr UIKDQ1ggR2LacQMQk0VAVWL2Lj6Qcl4BT4nvB88wQyxTktjQexRsJKeAl0Tb8i6wI4SAag59 +sQ2gZF3ASPDKkbR1ILkguKk9FwjveLE3OLSvHS95PzcTYxgjz+T3sG4qsHiEKMAB6MSD29h +MkAIdbEsuLK3EOMEhzMSiK8/suBQrwpiZVVqUX58UWlOanFhxilOViUxHmbPVIChATSE0tS s1NTC1KLYLJMHJxSDYxMM0oe3je3qZdI+3g+7unpEw4uk6MaQiZNPybEfMg7hkFf1Zphm0nY XfeW7ZsFFq5YmJA7NUQixeTimaXKrQsW8smVnuH4zXR5QuTKq19b9iyWm+NYu2OK5959H5e8 Xtmkx5K8++QZnemL1n045VP3/mkMx0+NqA/rb0X2nzVTUw9asv+ki+o5JZbijERDLeai4kQA yOg5P/QBAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121213_062326_379474_CBF9E713 X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.9 (------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-6.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.25 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: kgene.kim@samsung.com, patches@linaro.org, linus.walleij@linaro.org, linux-samsung-soc@vger.kernel.org, t.figa@samsung.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Skip exynos5250 gpiolib registration if pinctrl support for exynos5250 is enabled. Signed-off-by: Thomas Abraham --- drivers/gpio/gpio-samsung.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c index 01f7fe9..849c134 100644 --- a/drivers/gpio/gpio-samsung.c +++ b/drivers/gpio/gpio-samsung.c @@ -3026,6 +3026,7 @@ static __init int samsung_gpiolib_init(void) static const struct of_device_id exynos_pinctrl_ids[] = { { .compatible = "samsung,pinctrl-exynos4210", }, { .compatible = "samsung,pinctrl-exynos4x12", }, + { .compatible = "samsung,pinctrl-exynos5250", }, }; for_each_matching_node(pctrl_np, exynos_pinctrl_ids) if (pctrl_np && of_device_is_available(pctrl_np))