From patchwork Thu May 30 13:27:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Baltieri X-Patchwork-Id: 2636531 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id 40C7F40077 for ; Thu, 30 May 2013 13:31:48 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ui2va-00023l-JD; Thu, 30 May 2013 13:30:03 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ui2uy-0007p6-KC; Thu, 30 May 2013 13:29:24 +0000 Received: from mail-ea0-x22b.google.com ([2a00:1450:4013:c01::22b]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ui2uR-0007jI-8P for linux-arm-kernel@lists.infradead.org; Thu, 30 May 2013 13:28:52 +0000 Received: by mail-ea0-f171.google.com with SMTP id b15so319477eae.2 for ; Thu, 30 May 2013 06:28:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=+ywatsD5DbjyaZNIPEMfr1cfG2S9eFHSEV+uvU51mHo=; b=bLaf0TTHS2y+D9XwfjkxxXTWGZaUXZuXXfEG8eX2cdBAtHrvXkgC3o2o6CluqH8/Gz 7Jo0mCzz0ZGJzkUgtmu11M33XZawVkjolxgtDBBvxSU2CJpT5J1qupUox975FO1u0lKJ a567nsiE4h0icLOovtMiWUzq1OHAybBeUZ6DFHMWthH1VWQIdg4E9wanuEQXz/2EKa/E EzAVQjnss77hdHh4uwzKuCCHQjFv2u+WmQi5YukHtqODQxr6ogrgUIKyZc2orYgvydIF ad5NQsM1h+iTFmnbLsukPeabU0bcp0jDTtQ887Rvrcyo6nGiGicHaoJRbM01Nqc5EQfK 2sZQ== X-Received: by 10.14.32.133 with SMTP id o5mr9747874eea.64.1369920508758; Thu, 30 May 2013 06:28:28 -0700 (PDT) Received: from localhost ([2a01:2003:1:1545:8e70:5aff:feac:ad8]) by mx.google.com with ESMTPSA id m48sm60691995eeh.16.2013.05.30.06.28.26 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 30 May 2013 06:28:28 -0700 (PDT) From: Fabio Baltieri To: Linus Walleij , Lee Jones Subject: [PATCH 5/5] mfd: ab8500-core: Add of_compatible property for ab8500-codec Date: Thu, 30 May 2013 15:27:45 +0200 Message-Id: <1369920465-13905-6-git-send-email-fabio.baltieri@linaro.org> X-Mailer: git-send-email 1.8.2 In-Reply-To: <1369920465-13905-1-git-send-email-fabio.baltieri@linaro.org> References: <1369920465-13905-1-git-send-email-fabio.baltieri@linaro.org> X-Gm-Message-State: ALoCoQnDZo+0y9Qc3rxKe6KDX0D0e2oubRDZMqnQnq4Z+noYXziQ3lgz7s/soJmrGa7FPfYJ8UhJ X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130530_092851_515598_0D350461 X-CRM114-Status: GOOD ( 11.33 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Ola Lilja , Samuel Ortiz , Srinidhi Kasagar , Fabio Baltieri , linux-kernel@vger.kernel.org, Mark Brown , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add of_compatible string to the ab8500-codec cell to allow the driver to grab handlers such as regulators from device-tree when available. Signed-off-by: Fabio Baltieri Acked-by: Linus Walleij --- drivers/mfd/ab8500-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index 1863985..3efb356 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c @@ -1120,6 +1120,7 @@ static struct mfd_cell ab8500_devs[] = { }, { .name = "ab8500-codec", + .of_compatible = "stericsson,ab8500-codec", }, };