]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
PCI: dra7xx: Set drvdata at end of probe function
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:33:07 +0000 (13:33 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 02:02:00 +0000 (21:02 -0500)
commit03fa2ae184c3fff47bc455a4a176384e65b9c303
treef3749390d35ec7f3e9c14ae1bf4136ae176261a2
parent01856d1de4757f940e71bf7fddf01ae39e078121
PCI: dra7xx: Set drvdata at end of probe function

Set the drvdata pointer at the end of probe function for consistency with
other drivers.  We don't need the drvdata until after the probe completes,
and we don't need it at all if the probe fails.  No functional change
intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-dra7xx.c