PCI: rockchip: Remove unused platform data
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:41:24 +0000 (13:41 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 04:38:10 +0000 (23:38 -0500)
The rockchip driver never uses the platform drvdata pointer, so don't
bother setting it.  No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Shawn Lin <shawn.lin@rock-chips.com>
drivers/pci/host/pcie-rockchip.c

index b8c82fc812dc7b604efffe71f8038c0ece24485f..59bf0dbc766f5a2061f5b962971df7d925324b80 100644 (file)
@@ -1091,8 +1091,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);