sfc: Fix missing cleanup in failure path of efx_pci_probe()
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 4 Apr 2012 23:22:19 +0000 (00:22 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 10 May 2012 01:22:16 +0000 (02:22 +0100)
commit3de4e30196f09ff2c096f2f8e17ebc9adda9db8d
treedcb1901d793c467fa031046737c3ab12186944eb
parent3dca9d2dc285faf1910d405b65df845cab061356
sfc: Fix missing cleanup in failure path of efx_pci_probe()

We need to clear the private data pointer in the PCI device.
Also reorder cleanup in efx_pci_remove() for symmetry.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c