From patchwork Wed May 8 13:29:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 16794 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9A3B425B4A for ; Wed, 8 May 2013 13:30:30 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id 13sf2029513lba.11 for ; Wed, 08 May 2013 06:30:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=tJrDBlEW+pbHhsiHy6IpWIdDfKMAedKLkLbtXQ3eCpA=; b=P93JK/D99FyaC3f2O7XiEvIod8WldLYv5TpsjI+jEMV+BPOLz1SOj6nUj36R3McS1r m7Bzn183d8E7CPCF6xWS5NFpbRjuUrSqNkcsa5J03PWDz6dwA4P3KK40+U7LICIvpXg8 vtFhEqbot4NDXGEhg8oKH0E2jBDhhXVz9ZCMEsrHvm3R1W110D4UXMEHp9xF7guIIPWm 1DfccTNxCA1X8IgkYGT2ZRQi1Dn3nmV6eZ0hImDw00FNWILyoczIN290dvBmlFiBZFh8 3Zwlk+YQwqpyjRY/lqk9xKRQPuWJFjHkGKM/ea0G+ZOxu3m48175UUJHrLfQZ0mj6wqj lMSQ== X-Received: by 10.180.85.5 with SMTP id d5mr4295621wiz.0.1368019808385; Wed, 08 May 2013 06:30:08 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.100.201 with SMTP id fa9ls1514008wib.12.canary; Wed, 08 May 2013 06:30:08 -0700 (PDT) X-Received: by 10.180.185.135 with SMTP id fc7mr22161744wic.29.1368019808099; Wed, 08 May 2013 06:30:08 -0700 (PDT) Received: from mail-ve0-x229.google.com (mail-ve0-x229.google.com [2607:f8b0:400c:c01::229]) by mx.google.com with ESMTPS id nf10si1931657wic.50.2013.05.08.06.30.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 May 2013 06:30:08 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::229 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::229; Received: by mail-ve0-f169.google.com with SMTP id jz10so1717081veb.14 for ; Wed, 08 May 2013 06:30:07 -0700 (PDT) X-Received: by 10.220.82.68 with SMTP id a4mr4445909vcl.49.1368019806800; Wed, 08 May 2013 06:30:06 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp6867veb; Wed, 8 May 2013 06:30:06 -0700 (PDT) X-Received: by 10.180.20.148 with SMTP id n20mr10000410wie.8.1368019805692; Wed, 08 May 2013 06:30:05 -0700 (PDT) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [2a00:1450:400c:c05::22d]) by mx.google.com with ESMTPS id q13si3321844wjw.4.2013.05.08.06.30.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 May 2013 06:30:05 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c05::22d is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c05::22d; Received: by mail-wi0-f173.google.com with SMTP id ey16so5042653wid.12 for ; Wed, 08 May 2013 06:30:05 -0700 (PDT) X-Received: by 10.180.95.106 with SMTP id dj10mr21945287wib.1.1368019805212; Wed, 08 May 2013 06:30:05 -0700 (PDT) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPSA id h8sm7063221wiz.9.2013.05.08.06.30.02 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 May 2013 06:30:03 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, srinidhi.kasagar@stericsson.com, Lee Jones , Samuel Ortiz Subject: [PATCH 2/9] mfd: ab8500-core: Use the correct driver name when enabling gpio/pinctrl Date: Wed, 8 May 2013 14:29:02 +0100 Message-Id: <1368019749-19455-3-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1368019749-19455-1-git-send-email-lee.jones@linaro.org> References: <1368019749-19455-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQnX2qS0H7argkvWoWFTGgKGdOMfWLjorHIM/QVMKyjGaa1faIaNGQMfgzQy6heRXfsB4sxM X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::229 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , When we're using Device Tree to enable GPIO drivers we're forced to be OS agnostic, thus we are forbidden use names like pinctrl as they are specific only to Linux. However, when we are registering devices using internal systems such as MFD or platform registration, we can use such terminology. In this case we can and should use the platform device ID mechanism to specify which device we wish to utilise by detailing pinctrl-. Cc: Samuel Ortiz Signed-off-by: Lee Jones --- drivers/mfd/ab8500-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index 42abd3a..2047485 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c @@ -1106,7 +1106,7 @@ static struct mfd_cell ab8500_devs[] = { .of_compatible = "stericsson,ab8500-denc", }, { - .name = "ab8500-gpio", + .name = "pinctrl-ab8500", .of_compatible = "stericsson,ab8500-gpio", }, { @@ -1243,7 +1243,7 @@ static struct mfd_cell ab8505_devs[] = { .name = "ab8500-leds", }, { - .name = "ab8500-gpio", + .name = "pinctrl-ab8505", }, { .name = "ab8500-usb", @@ -1311,7 +1311,7 @@ static struct mfd_cell ab8540_devs[] = { .resources = ab8500_temp_resources, }, { - .name = "ab8500-gpio", + .name = "pinctrl-ab8540", }, { .name = "ab8540-usb",