summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorRichard Zhu <hongxing.zhu@nxp.com>2017-06-19 17:30:12 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:26:58 +0800
commitf97dddb6d984b16f651a992349c6cedbfb3a7b54 (patch)
tree5b203dab5d22c7030b19a4ac08aeadfbf3bf9e7c /drivers/pci
parent565cafb17607c3517b269b1ea24d2c82138254b7 (diff)
MLK-15119 PCI: imx: remove the wrong rebased codes
Some codes are wrong rebase back into mainline in one git pull rebase confliction. Remove them. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/dwc/pci-imx6.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/pci/dwc/pci-imx6.c b/drivers/pci/dwc/pci-imx6.c
index 96f3384caefb..14a60fe06e28 100644
--- a/drivers/pci/dwc/pci-imx6.c
+++ b/drivers/pci/dwc/pci-imx6.c
@@ -1579,13 +1579,6 @@ static int __init imx6_pcie_probe(struct platform_device *pdev)
if (of_property_read_u32(node, "cpu-base-addr", &imx6_pcie->cpu_base))
imx6_pcie->cpu_base = 0;
- if (IS_ENABLED(CONFIG_EP_MODE_IN_EP_RC_SYS)) {
- /* add attributes for device */
- ret = sysfs_create_group(&pdev->dev.kobj, &imx_pcie_attrgroup);
- if (ret)
- return -EINVAL;
- }
-
np = of_find_compatible_node(NULL, NULL, "fsl,imx-pcie-phy");
if (np != NULL) {
imx6_pcie->phy_base = of_iomap(np, 0);