From patchwork Wed Sep 20 19:26:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9962173 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4612260208 for ; Wed, 20 Sep 2017 19:26:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 39390291FB for ; Wed, 20 Sep 2017 19:26:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E026291FA; Wed, 20 Sep 2017 19:26:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF827291FA for ; Wed, 20 Sep 2017 19:26:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751664AbdITT03 (ORCPT ); Wed, 20 Sep 2017 15:26:29 -0400 Received: from mail-wr0-f177.google.com ([209.85.128.177]:51501 "EHLO mail-wr0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751367AbdITT00 (ORCPT ); Wed, 20 Sep 2017 15:26:26 -0400 Received: by mail-wr0-f177.google.com with SMTP id z39so2958359wrb.8 for ; Wed, 20 Sep 2017 12:26:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+awbjENOLbyUDT7VDBYhKl6eM8CDd+Cfcc+t2/Ew+Kc=; b=qYZSraxN2AfUA/rIyg+hu9cs62f0P8k8BePeLQB2tgkmn8xio4zd6U1II/DNn+PvIi w1nUaZ1KGUYWEMcnPrdZBMimJQellYx/MszpDHrdXlHIlkZ29GQ2WLzqnFeOOYurm01n 6Y8XEQry3ViRR4vZoh3IF4Q9bQw/ur2lSNaV9k+8htn0dgW8oFJsMEmhMcQAMeYMzaTW IR6bmc+QztKA7CuaDpAOFX9rnJa2M4064ACcXipAiTLbuFRLbjdjSRd3ocbmyCnQLmJO iqCGVUGGfyNV2+sgTTBCU/gUTyNUsM07Fa0VViJlIyD5nUdosk8fEGDOmGgoD5MuGiyE VkEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+awbjENOLbyUDT7VDBYhKl6eM8CDd+Cfcc+t2/Ew+Kc=; b=oSaBBfj77VJie0cejAzyKDZyK0iKxJPE9cbftjSqup4D2/ExDCgnCPOchmjetUW91Z 4ZOAd2KsawUf4gEs4yKJsK6ZYI8SB+8+i6+ray9SXFnXKiVlhH2UNQxBDdANwUhFtXt8 75fDpYbh3KGUW8Guio/U+79gwGlusFSHZ9jKbdZhjQvJsJSYYhUqzMx2FGIuglwU+Xiz FMgRfMQSXwUjoL8kC1IAVfkntHcxXcDxVoRVxK1zN7GZz5mgfbfyWVv66L0FwhOZkiG0 Xc5a80laChjPM5a3zHx4ZMLyVh/yWikIqNnyg0x+h5PMneyAX7KLBzQ4oDEp3KJoVRPb xN3A== X-Gm-Message-State: AHPjjUhiWINwAtwLVZ9ggD5l9j+V7CdPWNC4yHldAc/jyOKibu2v8d71 f16WL9GmSz6U7HrCx61FQ7lGGg== X-Google-Smtp-Source: AOwi7QDOGnT75WqRsJdgTdZ/OwILlvJ+X44TO6j6RJcs1/zr6O/0kpbKz7YS9/J8voIfTTwr3Q39tw== X-Received: by 10.223.177.134 with SMTP id q6mr6113633wra.3.1505935585194; Wed, 20 Sep 2017 12:26:25 -0700 (PDT) Received: from localhost.localdomain (car75-h02-176-137-58-115.dsl.sta.abo.bbox.fr. [176.137.58.115]) by smtp.gmail.com with ESMTPSA id u40sm2680796wrb.21.2017.09.20.12.26.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Sep 2017 12:26:24 -0700 (PDT) From: Alexandre Bailon To: b-liu@ti.com Cc: linux-usb@vger.kernel.org, nsekhar@ti.com, ptitiano@baylibre.com, sergei.shtylyov@cogentembedded.com, linux-omap@vger.kernel.org, Alexandre Bailon Subject: [PATCH v3 4/4] usb: musb: da8xx: Remove duplicated defines Date: Wed, 20 Sep 2017 21:26:12 +0200 Message-Id: <20170920192612.16169-5-abailon@baylibre.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170920192612.16169-1-abailon@baylibre.com> References: <20170920192612.16169-1-abailon@baylibre.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There is some registers defined in da8xx.c though they are not used. These registers are also defined and used in musb_cppi41.c Remove these defines from da8xx.c. Signed-off-by: Alexandre Bailon --- drivers/usb/musb/da8xx.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c index df88123274ca..2ec2039eee86 100644 --- a/drivers/usb/musb/da8xx.c +++ b/drivers/usb/musb/da8xx.c @@ -50,10 +50,7 @@ #define DA8XX_USB_CTRL_REG 0x04 #define DA8XX_USB_STAT_REG 0x08 #define DA8XX_USB_EMULATION_REG 0x0c -#define DA8XX_USB_MODE_REG 0x10 /* Transparent, CDC, [Generic] RNDIS */ -#define DA8XX_USB_AUTOREQ_REG 0x14 #define DA8XX_USB_SRP_FIX_TIME_REG 0x18 -#define DA8XX_USB_TEARDOWN_REG 0x1c #define DA8XX_USB_INTR_SRC_REG 0x20 #define DA8XX_USB_INTR_SRC_SET_REG 0x24 #define DA8XX_USB_INTR_SRC_CLEAR_REG 0x28