From patchwork Sat Jun 25 01:17:39 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: omar ramirez X-Patchwork-Id: 917972 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5P1JWch006893 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 25 Jun 2011 01:19:53 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QaHWk-0002Vn-OB; Sat, 25 Jun 2011 01:19:16 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QaHWj-0004IA-Mz; Sat, 25 Jun 2011 01:19:13 +0000 Received: from na3sys009aog107.obsmtp.com ([74.125.149.197]) by canuck.infradead.org with smtps (Exim 4.76 #1 (Red Hat Linux)) id 1QaHVo-00046n-Sr for linux-arm-kernel@lists.infradead.org; Sat, 25 Jun 2011 01:18:18 +0000 Received: from mail-gw0-f54.google.com ([74.125.83.54]) (using TLSv1) by na3sys009aob107.postini.com ([74.125.148.12]) with SMTP ID DSNKTgU3VnwA3Hb4pOyEZh4vbQl13DsMkHO5@postini.com; Fri, 24 Jun 2011 18:18:16 PDT Received: by gwb15 with SMTP id 15so1628931gwb.41 for ; Fri, 24 Jun 2011 18:18:14 -0700 (PDT) Received: by 10.90.3.37 with SMTP id 37mr4275105agc.169.1308964693250; Fri, 24 Jun 2011 18:18:13 -0700 (PDT) Received: from localhost.localdomain (dragon.ti.com [192.94.94.33]) by mx.google.com with ESMTPS id r10sm3051365anh.28.2011.06.24.18.18.11 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Jun 2011 18:18:12 -0700 (PDT) From: Omar Ramirez Luna To: Hiroshi Doyu Subject: [RFC PATCH 3/7] OMAP: mailbox: use OMAP's naming convention for devices Date: Fri, 24 Jun 2011 20:17:39 -0500 Message-Id: <1308964663-5669-4-git-send-email-omar.ramirez@ti.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1308964663-5669-1-git-send-email-omar.ramirez@ti.com> References: <1308964663-5669-1-git-send-email-omar.ramirez@ti.com> X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110624_211817_250903_6E4FA124 X-CRM114-Status: GOOD ( 12.36 ) X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [74.125.149.197 listed in list.dnswl.org] Cc: Omar Ramirez Luna , Russell King , Benoit Cousson , Fernando Guzman Lugo , Tony Lindgren , Felipe Contreras , lo , lak X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 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 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sat, 25 Jun 2011 01:19:53 +0000 (UTC) Use "omap_XXX" as the OMAP device naming convention. Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap1/mailbox.c | 2 +- arch/arm/mach-omap2/devices.c | 2 +- arch/arm/mach-omap2/mailbox.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap1/mailbox.c b/arch/arm/mach-omap1/mailbox.c index c0e1f48..2845652 100644 --- a/arch/arm/mach-omap1/mailbox.c +++ b/arch/arm/mach-omap1/mailbox.c @@ -175,7 +175,7 @@ static struct platform_driver omap1_mbox_driver = { .probe = omap1_mbox_probe, .remove = __devexit_p(omap1_mbox_remove), .driver = { - .name = "omap-mailbox", + .name = "omap_mailbox", }, }; diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index e1110f2..779b2f3 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c @@ -287,7 +287,7 @@ static inline void omap_init_mbox(void) mb_attr = oh->dev_attr; pdata.nr_mbox = mb_attr->nr_mbox; - od = omap_device_build("omap-mailbox", -1, oh, &pdata, sizeof(pdata), + od = omap_device_build("omap_mailbox", -1, oh, &pdata, sizeof(pdata), mbox_latencies, ARRAY_SIZE(mbox_latencies), 0); WARN(IS_ERR(od), "%s: could not build device, err %ld\n", __func__, PTR_ERR(od)); diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c index 86d564a..946a70a 100644 --- a/arch/arm/mach-omap2/mailbox.c +++ b/arch/arm/mach-omap2/mailbox.c @@ -397,7 +397,7 @@ static struct platform_driver omap2_mbox_driver = { .probe = omap2_mbox_probe, .remove = __devexit_p(omap2_mbox_remove), .driver = { - .name = "omap-mailbox", + .name = "omap_mailbox", }, };