diff options
author | Wei Yang <weiyang@linux.vnet.ibm.com> | 2014-06-01 15:25:41 +0800 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-07-11 13:33:58 +0100 |
commit | 63eed2fa66568ef3c85530d0c1d14812907aa7fe (patch) | |
tree | da8b7fe47315f0e3874828c3d340a956c1815c04 /drivers/nfc | |
parent | cce11ac1f254935cb9e3914ac36ad0e3fe4c0767 (diff) | |
download | linux-stable-63eed2fa66568ef3c85530d0c1d14812907aa7fe.tar.gz linux-stable-63eed2fa66568ef3c85530d0c1d14812907aa7fe.tar.bz2 linux-stable-63eed2fa66568ef3c85530d0c1d14812907aa7fe.zip |
net/mlx4_core: Preserve pci_dev_data after __mlx4_remove_one()
[ Upstream commit befdf8978accecac2e0739e6b5075afc62db37fe ]
This patch wrap up a helper function __mlx4_remove_one() which does the tear
down function but preserve the drv_data. Functions like
mlx4_pci_err_detected() and mlx4_restart_one() will call this one with out
releasing drvdata.
Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions