Skip to contentSkip to conversation

USB: EHCI: tegra: Drop unused defines

PATCH In review Thierry Reding 2 participants 2 messages Feb 25, 2014 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB: EHCI: tegra: Drop unused defines

From: Thierry Reding <[email protected]>

Since commit 2d22b42db02f "usb: phy: registering Tegra USB PHY as platform driver" the driver no longer relies on the hard-coded physical addresses to determine the association between PHY and EHCI port, so these defines can be dropped.

---
 drivers/usb/host/ehci-tegra.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/usb/host/ehci-tegra.c +0 -4
index af28b748e87a..27ac6ad53c3d 100644
@@ -38,10 +38,6 @@
 
 #include "ehci.h"
 
-#define TEGRA_USB_BASE			0xC5000000
-#define TEGRA_USB2_BASE			0xC5004000
-#define TEGRA_USB3_BASE			0xC5008000
-
 #define PORT_WAKE_BITS (PORT_WKOC_E|PORT_WKDISC_E|PORT_WKCONN_E)
 
 #define TEGRA_USB_DMA_ALIGN 32
Signature · 1 line
1.8.4.2

A message that is not in the archive (sent off-list or not yet received): 1393344593-5823-1-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

Reviewed-by
#2 lore raw
Quoted 6 lines · Thierry Reding

From: Thierry Reding <[email protected]>

Since commit 2d22b42db02f "usb: phy: registering Tegra USB PHY as platform driver" the driver no longer relies on the hard-coded physical addresses to determine the association between PHY and EHCI port, so these defines can be dropped.

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html