From patchwork Wed Mar 6 11:18:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thomas.abraham@linaro.org X-Patchwork-Id: 15255 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 14ADC23E39 for ; Wed, 6 Mar 2013 10:56:49 +0000 (UTC) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by fiordland.canonical.com (Postfix) with ESMTP id C5EBFA18527 for ; Wed, 6 Mar 2013 10:56:48 +0000 (UTC) Received: by mail-ve0-f172.google.com with SMTP id cz11so6722589veb.3 for ; Wed, 06 Mar 2013 02:56:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-auditid:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-brightmail-tracker:x-gm-message-state; bh=C9fTN3sjqq+K454Hh/s4xWpBPh+s8vDOUgA9II2NjO0=; b=QD8rGSpZuU39P9tk1cniEA68FutZAScNmtDlsfJ6ZCxBN+hL5owJls5BRfTgHF3K4g YvvZk5jIFeV88+92+mnAeudw7+xMIuCTy8lBJuZORaDdmxBoSkYBjYX2wT7lGtAoxB3o edon3oGogZwv0WrUkpiqwVrkFVSzPHri/Dh1+2wOvO1TzjWnda2xrNUDWzeA5j7E6hbO /JKMteCYoC108lSW55s84sqNP2Too0mDhtLo0EovQUECWA23M67XGHkVNyh78i95m6fp oIPgL+q8nV26Ovs/wL/ydsR7GkybCFjhld7r3u3SyKWwOfw8DaRcVgKChIhrxTFfhoZA 8xcA== X-Received: by 10.221.11.135 with SMTP id pe7mr11087372vcb.41.1362567408303; Wed, 06 Mar 2013 02:56:48 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp8301veb; Wed, 6 Mar 2013 02:56:47 -0800 (PST) X-Received: by 10.68.138.225 with SMTP id qt1mr44635395pbb.82.1362567407152; Wed, 06 Mar 2013 02:56:47 -0800 (PST) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by mx.google.com with ESMTP id tm6si26132144pbc.355.2013.03.06.02.56.46; Wed, 06 Mar 2013 02:56:47 -0800 (PST) Received-SPF: neutral (google.com: 203.254.224.34 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) client-ip=203.254.224.34; Authentication-Results: mx.google.com; spf=neutral (google.com: 203.254.224.34 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) smtp.mail=thomas.abraham@linaro.org Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MJ800EDUJQ0PP11@mailout4.samsung.com>; Wed, 06 Mar 2013 19:56:46 +0900 (KST) X-AuditID: cbfee61b-b7fb06d000000f28-e1-513720edf595 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 08.C5.03880.DE027315; Wed, 06 Mar 2013 19:56:46 +0900 (KST) Received: from localhost.localdomain ([107.108.73.37]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MJ800ICUJQ8WS40@mmp2.samsung.com>; Wed, 06 Mar 2013 19:56:45 +0900 (KST) From: Thomas Abraham To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linus.walleij@linaro.org, kgene.kim@samsung.com, t.figa@samsung.com, patches@linaro.org Subject: [PATCH v2 2/3] gpio: samsung: skip gpiolib registration if pinctrl support is enabled for exynos5250 Date: Wed, 06 Mar 2013 16:48:31 +0530 Message-id: <1362568712-13586-3-git-send-email-thomas.abraham@linaro.org> X-Mailer: git-send-email 1.6.6.rc2 In-reply-to: <1362568712-13586-1-git-send-email-thomas.abraham@linaro.org> References: <1362568712-13586-1-git-send-email-thomas.abraham@linaro.org> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphluLIzCtJLcpLzFFi42I5/e+xoO47BfNAg13bWC16F1xls5jyZzmT xabH11gtLu+aw2Yx4/w+Josph7+wWKyf8ZrFgd3jzrU9bB6bl9R79G1ZxejxeZNcAEsUl01K ak5mWWqRvl0CV8avEyUFK9grNp5YzNzAOJ+ti5GTQ0LARGLftP1QtpjEhXvrwWwhgemMEusv 2nQxcgHZbUwSU7csYwFJsAkYSDxa+I4dxBYRUJDY3PuMFaSIWWAFo8SJrq9gCWGBfImrM5eC TWIRUJW4+Hc2WJxXwFNiQ8NuRohtShIbeo8ydTFycHAKeEl8vG4EsdhT4uH8p4wTGHkXMDKs YhRNLUguKE5KzzXSK07MLS7NS9dLzs/dxAgOo2fSOxhXNVgcYhTgYFTi4Z2gYhYoxJpYVlyZ e4hRgoNZSYR3q7R5oBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXFexlNPAoQE0hNLUrNTUwtSi2Cy TBycUg2MEXsNOWM93j205upkmpJg0z3xyrqcMwXWR+/uljgVIF/0lKn+S5qJEcsOzW1bnxl/ 3qES+8zYhenE8qN+XHeTSpPOKOfx6Ky9Y+X4bWqUEu+9ULWEp2/T/7HP0Fj7Oznxh4L1L/2K 1s2POA0eBZ6+Z/FATS7tpOeV95Ehgj7T9e8cuXHjWPNLJZbijERDLeai4kQACYYd/R8CAAA= X-Gm-Message-State: ALoCoQl7r66L808qxYIXDQSUOUcp1tOjNBl+xFck8YQOdq7R1bVjRYK+Dv/ZyNbVws1LzRfrdv// Skip exynos5250 gpiolib registration if pinctrl support for exynos5250 is enabled. Signed-off-by: Thomas Abraham Reviewed-by: Tomasz Figa Acked-by: Linus Walleij --- 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 b3643ff..49b4292 100644 --- a/drivers/gpio/gpio-samsung.c +++ b/drivers/gpio/gpio-samsung.c @@ -3024,6 +3024,7 @@ static __init int samsung_gpiolib_init(void) static const struct of_device_id exynos_pinctrl_ids[] = { { .compatible = "samsung,exynos4210-pinctrl", }, { .compatible = "samsung,exynos4x12-pinctrl", }, + { .compatible = "samsung,exynos5250-pinctrl", }, { .compatible = "samsung,exynos5440-pinctrl", }, }; for_each_matching_node(pctrl_np, exynos_pinctrl_ids)