PCI: rockchip: remove redundant platform data assignment
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 10 Mar 2017 03:05:17 +0000 (11:05 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 16 Mar 2017 03:25:00 +0000 (11:25 +0800)
We add it twice, so remove one.

Change-Id: I103ee8ffcc15569d65e9455a5465ac4b7dc5112d
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
drivers/pci/host/pcie-rockchip.c

index 50c0c361c4ae321fbfb89a47f6d5e75534776ccc..8ada33767834e9fe81abb91c2bce6454592dcf98 100644 (file)
@@ -1330,8 +1330,6 @@ static int rockchip_pcie_probe(struct platform_device *pdev)
        if (err)
                goto err_vpcie;
 
-       platform_set_drvdata(pdev, rockchip);
-
        rockchip_pcie_enable_interrupts(rockchip);
 
        err = rockchip_pcie_init_irq_domain(rockchip);