From patchwork Fri Oct 17 17:17:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 38945 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f71.google.com (mail-ee0-f71.google.com [74.125.83.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 51746202DB for ; Fri, 17 Oct 2014 17:18:56 +0000 (UTC) Received: by mail-ee0-f71.google.com with SMTP id d17sf803535eek.2 for ; Fri, 17 Oct 2014 10:18:55 -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=XmTqAF2Blxq5/8RLexd5hmrGd5RASAeHHCP3q4S1XB4=; b=SVk047N5iScLP3BYwOHuSGqnAvBGnH55No/ajHWLVqltS13l1qJL4DWt2mKAXXUYb1 eI7++5maXFOCHeevflw6ni9gfHYvM4xtbqUrJQFJMp6TAjwtGhOHpNJgVV3mMMZNcpD9 9BGKHUhGiBVF0qkJNHIt3D9MLC0wgzZiW1xIVWH3CvjxUIX3OQbviBZNdgEA5oIaCrBK /Wp1SRWlP8977Vc4mx9mArkiidrTCDsIK6L30HICn2IltS+miFpKLgihAtZ9EDxoBSJq Rq7I12SpLVzYV3q2zgMuNYMl/EbSK04xDSB3HBC02uhLsTgbwcaD4BBBx7tDNN8XbFcW iHuA== X-Gm-Message-State: ALoCoQkWhNSGXVFIuOb9TUFB0HRCMb1IBOz+6CgK7VlKq0o4wsqzPD5DNe10FaSJOrwyCZKee/Xf X-Received: by 10.180.96.101 with SMTP id dr5mr62016wib.0.1413566335222; Fri, 17 Oct 2014 10:18:55 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.2 with SMTP id ku2ls201973lac.2.gmail; Fri, 17 Oct 2014 10:18:55 -0700 (PDT) X-Received: by 10.112.45.228 with SMTP id q4mr10310597lbm.35.1413566335064; Fri, 17 Oct 2014 10:18:55 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id ul7si3050102lbb.8.2014.10.17.10.18.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 10:18:55 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by mail-la0-f49.google.com with SMTP id q1so1073438lam.36 for ; Fri, 17 Oct 2014 10:18:55 -0700 (PDT) X-Received: by 10.112.130.41 with SMTP id ob9mr10079926lbb.74.1413566334921; Fri, 17 Oct 2014 10:18:54 -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 c5csp268175lbz; Fri, 17 Oct 2014 10:18:54 -0700 (PDT) X-Received: by 10.70.51.195 with SMTP id m3mr9766326pdo.27.1413566323046; Fri, 17 Oct 2014 10:18:43 -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.42 for ; Fri, 17 Oct 2014 10:18:43 -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 S1753751AbaJQRSi (ORCPT + 3 others); Fri, 17 Oct 2014 13:18:38 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:36469 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753738AbaJQRSf (ORCPT ); Fri, 17 Oct 2014 13:18:35 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s9HHIQw6029310; Fri, 17 Oct 2014 12:18:26 -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 s9HHIQ1w001307; Fri, 17 Oct 2014 12:18:26 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Fri, 17 Oct 2014 12:18:27 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHIPpN031311; Fri, 17 Oct 2014 12:18:26 -0500 From: Felipe Balbi To: Linux USB Mailing List CC: Greg KH , , Paul Zimmerman , , , , , , , Felipe Balbi Subject: [PATCH 59/67] usb: gadget: udc: dummy: remove bind/unbind messages Date: Fri, 17 Oct 2014 12:17:06 -0500 Message-ID: <1413566234-13537-60-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: 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.215.49 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: , List-Help: , List-Archive: List-Unsubscribe: , now that we provide generic register/unregister debugging messages from udc-core, we can remove the same messages from this driver. Signed-off-by: Felipe Balbi --- drivers/usb/gadget/udc/dummy_hcd.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/usb/gadget/udc/dummy_hcd.c b/drivers/usb/gadget/udc/dummy_hcd.c index 32bdd78..5c72ade 100644 --- a/drivers/usb/gadget/udc/dummy_hcd.c +++ b/drivers/usb/gadget/udc/dummy_hcd.c @@ -908,10 +908,8 @@ static int dummy_udc_start(struct usb_gadget *g, */ dum->devstatus = 0; - dum->driver = driver; - dev_dbg(udc_dev(dum), "binding gadget driver '%s'\n", - driver->driver.name); + return 0; } @@ -921,9 +919,6 @@ static int dummy_udc_stop(struct usb_gadget *g, struct dummy_hcd *dum_hcd = gadget_to_dummy_hcd(g); struct dummy *dum = dum_hcd->dum; - dev_dbg(udc_dev(dum), "unregister gadget driver '%s'\n", - dum->driver->driver.name); - dum->driver = NULL; return 0;