diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-03-09 13:25:49 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-03-12 01:11:07 +1100 |
commit | 83ce01d24a1998cf1be6a7ea37f54edf264abe93 (patch) | |
tree | 339558f9d624a7aba271f0554757d7d24e316056 /drivers/crypto/qat/qat_dh895xcc | |
parent | 257bedd4f39d53ca41c5c8e3f8e0d805607ae661 (diff) | |
download | op-kernel-dev-83ce01d24a1998cf1be6a7ea37f54edf264abe93.zip op-kernel-dev-83ce01d24a1998cf1be6a7ea37f54edf264abe93.tar.gz |
crypto: qat - remove incorrect __exit markup
PCI bus is hot-pluggable, and even if it wasn't one can still unbind the
device from driver via sysfs, so we should not make driver's remove
method as __exit.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_dh895xcc')
-rw-r--r-- | drivers/crypto/qat/qat_dh895xcc/adf_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/qat/qat_dh895xcc/adf_drv.c b/drivers/crypto/qat/qat_dh895xcc/adf_drv.c index 8ffdb95..e7af9d5 100644 --- a/drivers/crypto/qat/qat_dh895xcc/adf_drv.c +++ b/drivers/crypto/qat/qat_dh895xcc/adf_drv.c @@ -379,7 +379,7 @@ out_err: return ret; } -static void __exit adf_remove(struct pci_dev *pdev) +static void adf_remove(struct pci_dev *pdev) { struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev); |