forked from luck/tmp_suning_uos_patched
PCI: rcar: Remove unused platform data
The rcar 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: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
4ef80d72a6
commit
d9c64c500a
@ -1136,7 +1136,6 @@ static int rcar_pcie_probe(struct platform_device *pdev)
|
||||
return -ENOMEM;
|
||||
|
||||
pcie->dev = dev;
|
||||
platform_set_drvdata(pdev, pcie);
|
||||
|
||||
INIT_LIST_HEAD(&pcie->resources);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user