summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/da8xx.c
diff options
context:
space:
mode:
authorAlexandre Bailon <abailon@baylibre.com>2017-10-27 19:51:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-30 11:52:39 +0300
commit2c411e0da9baae03de857e87d721e98f47e9da8f (patch)
tree7a33ff9791600ec80ed125e451b3c5aa02d2a5d3 /drivers/usb/musb/da8xx.c
parentc2300cd67c9583c8084767dd4dac19287afc5498 (diff)
downloadlinux-2c411e0da9baae03de857e87d721e98f47e9da8f.tar.xz
usb: musb: da8xx: Remove duplicated defines
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 <abailon@baylibre.com> Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb/da8xx.c')
-rw-r--r--drivers/usb/musb/da8xx.c3
1 files changed, 0 insertions, 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