From patchwork Thu Feb 11 17:13:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 61793 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp329736lbl; Thu, 11 Feb 2016 09:13:46 -0800 (PST) X-Received: by 10.66.55.106 with SMTP id r10mr53827139pap.133.1455210826709; Thu, 11 Feb 2016 09:13:46 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z3si13670714par.37.2016.02.11.09.13.46; Thu, 11 Feb 2016 09:13:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751769AbcBKRNl (ORCPT + 30 others); Thu, 11 Feb 2016 12:13:41 -0500 Received: from foss.arm.com ([217.140.101.70]:56462 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751466AbcBKRNi (ORCPT ); Thu, 11 Feb 2016 12:13:38 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3835849; Thu, 11 Feb 2016 09:12:50 -0800 (PST) Received: from e103737-lin.cambridge.arm.com (e103737-lin.cambridge.arm.com [10.1.207.150]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D81463F238; Thu, 11 Feb 2016 09:13:36 -0800 (PST) From: Sudeep Holla To: Lee Jones , Jassi Brar Cc: Sudeep Holla , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] mailbox: mailbox-test: fix the compatible string Date: Thu, 11 Feb 2016 17:13:26 +0000 Message-Id: <1455210808-29395-3-git-send-email-sudeep.holla@arm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1455210808-29395-1-git-send-email-sudeep.holla@arm.com> References: <1455210808-29395-1-git-send-email-sudeep.holla@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Underscores are usually forbidden in the compatible strings. So lets remove it before the first users of this is seen. Cc: Jassi Brar Cc: Lee Jones Signed-off-by: Sudeep Holla --- Documentation/devicetree/bindings/mailbox/sti-mailbox.txt | 2 +- drivers/mailbox/mailbox-test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 1.9.1 Acked-by: Lee Jones diff --git a/Documentation/devicetree/bindings/mailbox/sti-mailbox.txt b/Documentation/devicetree/bindings/mailbox/sti-mailbox.txt index b61eec920359..351f612673fc 100644 --- a/Documentation/devicetree/bindings/mailbox/sti-mailbox.txt +++ b/Documentation/devicetree/bindings/mailbox/sti-mailbox.txt @@ -44,7 +44,7 @@ Optional properties Example: mailbox_test { - compatible = "mailbox_test"; + compatible = "mailbox-test"; reg = <0x[shared_memory_address], [shared_memory_size]>; mboxes = <&mailbox2 0 1>, <&mailbox0 2 1>; mbox-names = "tx", "rx"; diff --git a/drivers/mailbox/mailbox-test.c b/drivers/mailbox/mailbox-test.c index 3813f6d9eba9..036a852b5fa1 100644 --- a/drivers/mailbox/mailbox-test.c +++ b/drivers/mailbox/mailbox-test.c @@ -342,7 +342,7 @@ static int mbox_test_remove(struct platform_device *pdev) } static const struct of_device_id mbox_test_match[] = { - { .compatible = "mailbox_test" }, + { .compatible = "mailbox-test" }, {}, };