Message ID | 1413566234-13537-67-git-send-email-balbi@ti.com |
---|---|
State | Accepted |
Commit | 8da9fe8af8e3fd953b346c800976a5db6c0115a4 |
Headers | show
Return-Path: <patchwork-forward+bncBC5M7T4HYEKRBBM7QWRAKGQEYQIWQIA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 12C67202DB for <linaro@patches.linaro.org>; Fri, 17 Oct 2014 17:19:02 +0000 (UTC) Received: by mail-la0-f71.google.com with SMTP id gi9sf723491lab.2 for <linaro@patches.linaro.org>; Fri, 17 Oct 2014 10:19:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=gLj637a+O+Ewha1qLpe2D/yn5mSLs8Ag51JkY6MEko4=; b=AZNDGrS/79qFhZ17oamjr/zUPOGB3OSUYB2EDEqV5qIH8neVzMn5qGoLRbe0h9aGx0 YNZ9+JkvSmZefDBZdgvcvvOGJUC9A2CTZvFYQTDQUKGsJP00SUz45oN5LVqONEkXThY6 IJp9zOFSq7C3MPAjNnIO4DZWAT5aw2E3enUQGi0/k8uW+p43mphuSUjgSgQsoS2EOIUw pRmc1vWSGNEeHslFA4I562B7XPcJRzVBFHhojX9RaZw4Xm1P4ug0ZVmad6l6jJFsoLlx i1NPvFmbz7Jhkr+MBcJajUCCmLTh7ChmXM/pVjh8eCGqS6EkX3ofHBuin5p3uF7fQIZA wfTw== X-Gm-Message-State: ALoCoQlhkPmpJfLbe9yZH+4040eDsEAFefK371B2o5xmyT/jjpFSRwkEwBiEOwtf1c5bCN+QnyrJ X-Received: by 10.180.75.83 with SMTP id a19mr59695wiw.2.1413566341845; Fri, 17 Oct 2014 10:19:01 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.88.13 with SMTP id bc13ls281460lab.21.gmail; Fri, 17 Oct 2014 10:19:01 -0700 (PDT) X-Received: by 10.152.21.39 with SMTP id s7mr10408161lae.0.1413566341471; Fri, 17 Oct 2014 10:19:01 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id dd4si2967624lad.100.2014.10.17.10.19.01 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 10:19:01 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id n15so1052557lbi.11 for <patchwork-forward@linaro.org>; Fri, 17 Oct 2014 10:19:01 -0700 (PDT) X-Received: by 10.152.87.98 with SMTP id w2mr10089448laz.27.1413566341404; Fri, 17 Oct 2014 10:19:01 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp268200lbz; Fri, 17 Oct 2014 10:19:00 -0700 (PDT) X-Received: by 10.68.255.133 with SMTP id aq5mr10214079pbd.0.1413566325980; Fri, 17 Oct 2014 10:18:45 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rg2si1635731pbc.127.2014.10.17.10.18.45 for <multiple recipients>; Fri, 17 Oct 2014 10:18:45 -0700 (PDT) Received-SPF: none (google.com: linux-usb-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753767AbaJQRSn (ORCPT <rfc822;amit.pundir@linaro.org> + 3 others); Fri, 17 Oct 2014 13:18:43 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:56060 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753758AbaJQRSm (ORCPT <rfc822;linux-usb@vger.kernel.org>); Fri, 17 Oct 2014 13:18:42 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s9HHIXo2029581; Fri, 17 Oct 2014 12:18:33 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHIX2J001387; Fri, 17 Oct 2014 12:18:33 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Fri, 17 Oct 2014 12:18:34 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHIW77030913; Fri, 17 Oct 2014 12:18:33 -0500 From: Felipe Balbi <balbi@ti.com> To: Linux USB Mailing List <linux-usb@vger.kernel.org> CC: Greg KH <gregkh@linuxfoundation.org>, <m.szyprowski@samsung.com>, Paul Zimmerman <paul.zimmerman@synopsys.com>, <daniel@zonque.org>, <leoli@freescale.com>, <andrzej.p@samsung.com>, <r.baldyga@samsung.com>, <mina86@mina86.com>, <Peter.Chen@freescale.com>, Felipe Balbi <balbi@ti.com> Subject: [PATCH 66/67] usb: gadget: udc: core: fix unregistering message Date: Fri, 17 Oct 2014 12:17:13 -0500 Message-ID: <1413566234-13537-67-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.1.0.GIT In-Reply-To: <1413566234-13537-1-git-send-email-balbi@ti.com> References: <1413566234-13537-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-usb@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> Content-Type: text/plain |
diff --git a/drivers/usb/gadget/udc/udc-core.c b/drivers/usb/gadget/udc/udc-core.c index 3fed7a2..52f457b 100644 --- a/drivers/usb/gadget/udc/udc-core.c +++ b/drivers/usb/gadget/udc/udc-core.c @@ -325,7 +325,7 @@ EXPORT_SYMBOL_GPL(usb_add_gadget_udc); static void usb_gadget_remove_driver(struct usb_udc *udc) { dev_dbg(&udc->dev, "unregistering UDC driver [%s]\n", - udc->gadget->name); + udc->driver->function); kobject_uevent(&udc->dev.kobj, KOBJ_CHANGE);
Currently, we're printing gadget driver name when registering and UDC name when unregistering. Standardize on always printing gadget driver name. Signed-off-by: Felipe Balbi <balbi@ti.com> --- drivers/usb/gadget/udc/udc-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)