From patchwork Wed Sep 20 07:35:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9961033 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 39153600C5 for ; Wed, 20 Sep 2017 07:35:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2BCFE28F7D for ; Wed, 20 Sep 2017 07:35:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F1B128FE9; Wed, 20 Sep 2017 07:35: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 BA83E28F7D for ; Wed, 20 Sep 2017 07:35:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751801AbdITHfa (ORCPT ); Wed, 20 Sep 2017 03:35:30 -0400 Received: from mail-wr0-f173.google.com ([209.85.128.173]:48918 "EHLO mail-wr0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751796AbdITHfY (ORCPT ); Wed, 20 Sep 2017 03:35:24 -0400 Received: by mail-wr0-f173.google.com with SMTP id 108so1367001wra.5 for ; Wed, 20 Sep 2017 00:35:24 -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=tpoBWehO8zPFRxdjpYy6whoWTIC+IjMqVZl7FCasj1vxjGInYaf5uxR1AirokiIbPW FW++pss9+5yu5FotcrihzNyOPzLFLEmt2tY/NXMXc7xgRAeuG0hLsnO2r23a+0ACyNU+ 3QDtyj4MXOBq6Auvho3ChGPEXgPFlWRN57YaNXJeowM9XSFYZ0syn6EIagT4GWb7cavj NMIQlFvEK7c6Vo3unKg5nxq1G/J7PoyGHLb+aQnHsv8XNtuMfDwXIaOf5++tVPu2LLO4 ctG3jtO5VtXOQF/Y4/cp82M03uHtmp1aT+mH+RJL3iEW2PZ+RJQBuzikUBem+60gplkX URnQ== 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=ZGXglfori6KWfQtxrDu6S6DdV7HS15Cw3VU1I+EI2lg61hSsfFTOZxF/rNj81Z/pCF qUbWLxeJolAibKdD1dSo/slctQxeBE8+fA09vI3W11vVCCnvqd6hLVMkYIvkUjlQx2dL PJzfnbQXIvLmqsSgVHbo2QMkA2FuAMSiz5m/PmaXplw3GbEb3/XKC2zfFD3T1v+VO/nz 85kHkGgZarC1iipOu9x+xSj2W7HzaSv1JFKh0sMfjyKrv5IbMIx3ROn28eTzpEOWgN2T Em6P0YrkpgAxtDegygRFzT9WCCUzt9O5PuJbYqkkbZCON4sYXnN2J1k5EtcNi9mW/2lR TdTQ== X-Gm-Message-State: AHPjjUggoNDlFLaDHztXarkXw/2t9c3PnRrozXqtDbRXzmDCKHd8wkwE dwEqz1zirvJouS1leaKZ3KOb9g== X-Google-Smtp-Source: AOwi7QD8mhd4FeR58IpDZW7IYS/vtX6milj74HWykfo+hCloavqzmiLR1ukksmmp/a5pmpVxMZpZSg== X-Received: by 10.223.163.83 with SMTP id d19mr3655048wrb.84.1505892923678; Wed, 20 Sep 2017 00:35:23 -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 w14sm998875wmf.13.2017.09.20.00.35.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Sep 2017 00:35:23 -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 v2 4/4] usb: musb: da8xx: Remove duplicated defines Date: Wed, 20 Sep 2017 09:35:13 +0200 Message-Id: <20170920073513.11650-5-abailon@baylibre.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170920073513.11650-1-abailon@baylibre.com> References: <20170920073513.11650-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