From patchwork Mon Feb 23 18:52:30 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 8445 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n1NIrEbi027763 for ; Mon, 23 Feb 2009 18:53:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754465AbZBWSxU (ORCPT ); Mon, 23 Feb 2009 13:53:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754495AbZBWSxU (ORCPT ); Mon, 23 Feb 2009 13:53:20 -0500 Received: from ns1.siteground211.com ([209.62.36.12]:46623 "EHLO serv01.siteground211.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754465AbZBWSxT (ORCPT ); Mon, 23 Feb 2009 13:53:19 -0500 Received: from [91.154.126.168] (port=23085 helo=localhost.localdomain) by serv01.siteground211.com with esmtpa (Exim 4.69) (envelope-from ) id 1LbfvW-0008HW-Ju; Mon, 23 Feb 2009 12:53:15 -0600 From: Felipe Balbi To: linux-omap@vger.kernel.org Cc: Steve Sakoman , Anand Gadiyar , Syed Mohammed Khasim , Felipe Balbi Subject: [rft/rfc/patch-v2.6.29-rc5+ 02/23] usb: host: ehci: use dev_name Date: Mon, 23 Feb 2009 20:52:30 +0200 Message-Id: <1235415171-17376-3-git-send-email-me@felipebalbi.com> X-Mailer: git-send-email 1.6.1.3 In-Reply-To: <1235415171-17376-2-git-send-email-me@felipebalbi.com> References: <1235415171-17376-1-git-send-email-me@felipebalbi.com> <1235415171-17376-2-git-send-email-me@felipebalbi.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - serv01.siteground211.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - felipebalbi.com Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org We should stop using bus_id to pass the device name, dev_name() should be used instead. Cleanup only. Signed-off-by: Felipe Balbi --- drivers/usb/host/ehci-omap.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index 88ed500..3dd4a68 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c @@ -428,7 +428,8 @@ static int ehci_hcd_omap_drv_probe(struct platform_device *dev) retval = -ENOMEM; } - hcd = usb_create_hcd(&ehci_omap_hc_driver, &dev->dev, dev->dev.bus_id); + hcd = usb_create_hcd(&ehci_omap_hc_driver, &dev->dev, + dev_name(&dev->dev)); if (!hcd) return -ENOMEM;