diff mbox

USB: EHCI: tegra: Drop unused defines

Message ID 1393344593-5823-1-git-send-email-thierry.reding@gmail.com
State Not Applicable, archived
Headers show

Commit Message

Thierry Reding Feb. 25, 2014, 4:09 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

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.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 drivers/usb/host/ehci-tegra.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Stephen Warren Feb. 25, 2014, 5:51 p.m. UTC | #1
On 02/25/2014 09:09 AM, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> 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.

Reviewed-by: Stephen Warren <swarren@nvidia.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c
index af28b748e87a..27ac6ad53c3d 100644
--- a/drivers/usb/host/ehci-tegra.c
+++ b/drivers/usb/host/ehci-tegra.c
@@ -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