]> git.baikalelectronics.ru Git - 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)
commitd855117c5925247d5670ecc6e88d50d825ec4975
treef3749390d35ec7f3e9c14ae1bf4136ae176261a2
parente46934d1db8abe2a0eda4d90050f7f40b62e6f37
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