]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: iproc: Set drvdata at end of probe function
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:36:08 +0000 (13:36 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 03:36:38 +0000 (22:36 -0500)
commit06950e3e2faf7f07536bfaa01f1c9e7dc1a6453d
tree888df82ce8b13512e050d0103561be453de55006
parentcec9e47a38491a1b3db2fa366871e24d9c8186af
PCI: iproc: 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/pcie-iproc-bcma.c
drivers/pci/host/pcie-iproc-platform.c