From patchwork Fri Oct 17 17:17:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 38948 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D47FE202DB for ; Fri, 17 Oct 2014 17:19:00 +0000 (UTC) Received: by mail-la0-f70.google.com with SMTP id ge10sf722261lab.1 for ; Fri, 17 Oct 2014 10:18:59 -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=WEwV+W4hOgoPMHv8uR82J+FgHpEqLoAnJWXCq4OmG3M=; b=J1Gpq6bMcP0krUQkfIh4IXU6jjkEXH5Jl5FglxlTMG/8WJzpq6suDBmKZmgbYipDjY VAyM+b16YM0KxGSQ/Evo50gb4COGea1i66gFhVtSduAJhX/njkFoQGLnyv7sH4O86seP eWTJMJWJAx/8Z3/CLlNHSumbo3lntCksiag1hq+36YIEisNX1sfraoXBYcDPDIP3vdbQ ttslzVVKdiZB4LimdPrA9qSRR31Pjc0PX93/vHTvdqENUMZsi4wXeBQrtfbwo4Bv9DuV zHzKGcOHpq9WPv2SQK8wziOLIou85yXL1oqreCiomiweCACJ9PaIZoMvT3dSOnkIc1GP bVvg== X-Gm-Message-State: ALoCoQnC+wUHVgCzHN7UI5/THYIynFmZi2pDYhjBawQY1HTVbjCZWmWYOfwEhSY8PcD4DaE7dqET X-Received: by 10.181.27.135 with SMTP id jg7mr53217wid.5.1413566339741; Fri, 17 Oct 2014 10:18:59 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.197.34 with SMTP id ir2ls293415lac.7.gmail; Fri, 17 Oct 2014 10:18:59 -0700 (PDT) X-Received: by 10.112.225.225 with SMTP id rn1mr4436573lbc.98.1413566339446; Fri, 17 Oct 2014 10:18:59 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id b11si2945959lbq.121.2014.10.17.10.18.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 10:18:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by mail-la0-f51.google.com with SMTP id ge10so1060892lab.24 for ; Fri, 17 Oct 2014 10:18:59 -0700 (PDT) X-Received: by 10.152.29.8 with SMTP id f8mr10291956lah.56.1413566339340; Fri, 17 Oct 2014 10:18:59 -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 c5csp268192lbz; Fri, 17 Oct 2014 10:18:58 -0700 (PDT) X-Received: by 10.66.235.136 with SMTP id um8mr3641722pac.143.1413566324997; Fri, 17 Oct 2014 10:18:44 -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.44 for ; Fri, 17 Oct 2014 10:18:44 -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 S1753765AbaJQRSm (ORCPT + 3 others); Fri, 17 Oct 2014 13:18:42 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:44422 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753762AbaJQRSk (ORCPT ); Fri, 17 Oct 2014 13:18:40 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s9HHIW35008124; Fri, 17 Oct 2014 12:18:32 -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 s9HHIWHK001384; Fri, 17 Oct 2014 12:18:32 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Fri, 17 Oct 2014 12:18:33 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHIVUx003497; Fri, 17 Oct 2014 12:18:32 -0500 From: Felipe Balbi To: Linux USB Mailing List CC: Greg KH , , Paul Zimmerman , , , , , , , Felipe Balbi Subject: [PATCH 65/67] usb: musb: gadget: remove bind/unbind messages Date: Fri, 17 Oct 2014 12:17:12 -0500 Message-ID: <1413566234-13537-66-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.51 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/musb/musb_gadget.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index fdb8b31..88d63e0 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c @@ -1851,8 +1851,6 @@ static int musb_gadget_start(struct usb_gadget *g, pm_runtime_get_sync(musb->controller); - dev_dbg(musb->controller, "registering driver %s\n", driver->function); - musb->softconnect = 0; musb->gadget_driver = driver; @@ -1949,9 +1947,6 @@ static int musb_gadget_stop(struct usb_gadget *g, stop_activity(musb, NULL); otg_set_peripheral(musb->xceiv->otg, NULL); - dev_dbg(musb->controller, "unregistering driver %s\n", - musb->gadget_driver->function); - musb->is_active = 0; musb->gadget_driver = NULL; musb_platform_try_idle(musb, 0);