]> 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)
commit160b8fe09299327b692ce102d0f5047e87a577d0
treef3749390d35ec7f3e9c14ae1bf4136ae176261a2
parent0e1118a55b20501123dd5c5f36a8f196c5087b5f
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