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: 917912 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5P1IG7E003767 for ; Sat, 25 Jun 2011 01:18:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753270Ab1FYBSQ (ORCPT ); Fri, 24 Jun 2011 21:18:16 -0400 Received: from na3sys009aog107.obsmtp.com ([74.125.149.197]:47591 "EHLO na3sys009aog107.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753232Ab1FYBSP (ORCPT ); Fri, 24 Jun 2011 21:18:15 -0400 Received: from mail-gw0-f42.google.com ([74.125.83.42]) (using TLSv1) by na3sys009aob107.postini.com ([74.125.148.12]) with SMTP ID DSNKTgU3VnwA3Hb4pOyEZh4vbQl13DsMkHO5@postini.com; Fri, 24 Jun 2011 18:18:15 PDT Received: by gwb17 with SMTP id 17so2122539gwb.15 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 Cc: Tony Lindgren , Russell King , Benoit Cousson , Omar Ramirez Luna , Felipe Contreras , Fernando Guzman Lugo , lo , lak 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> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Sat, 25 Jun 2011 01:18:18 +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", }, };