Skip to content

Commit

Permalink
PCI: rockchip: Remove unused platform data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bjorn Helgaas committed Oct 12, 2016
1 parent bdf5309 commit 9d27475
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/pci/host/pcie-rockchip.c
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 9d27475

Please sign in to comment.