summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/host/fsl-mph-dr-of.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/host/fsl-mph-dr-of.c b/drivers/usb/host/fsl-mph-dr-of.c
index 5b980b4..1e59ea9 100644
--- a/drivers/usb/host/fsl-mph-dr-of.c
+++ b/drivers/usb/host/fsl-mph-dr-of.c
@@ -103,9 +103,6 @@ static struct platform_device *fsl_usb2_device_register(
else
dma_set_mask(&pdev->dev, DMA_BIT_MASK(32));
- if (pdata->operating_mode != FSL_USB2_DR_DEVICE)
- pdev->dev.of_node = ofdev->dev.of_node;
-
retval = platform_device_add_data(pdev, pdata, sizeof(*pdata));
if (retval)
goto error;