Skip to content

Commit

Permalink
crypto: qat - remove incorrect __exit markup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitry Torokhov authored and Herbert Xu committed Mar 11, 2015
1 parent 257bedd commit 83ce01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/qat/qat_dh895xcc/adf_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ static int adf_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
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);

Expand Down

0 comments on commit 83ce01d

Please sign in to comment.