summaryrefslogtreecommitdiff
path: root/drivers/scsi/sni_53c710.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2017-03-01 17:38:38 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2017-03-15 19:27:46 -0400
commitba21222d00a450ce3bfced0e047f52470372634d (patch)
treedc3f4ee01ed5943b9fc245af6caaf5afbf35f10d /drivers/scsi/sni_53c710.c
parent61b745fa63dbac366104c3585c0866562a8292be (diff)
downloadlwn-ba21222d00a450ce3bfced0e047f52470372634d.tar.gz
lwn-ba21222d00a450ce3bfced0e047f52470372634d.zip
scsi: remove incorrect __exit markups
Even if bus is not hot-pluggable, devices can be unbound from the driver via sysfs, so we should not be using __exit annotations on remove() methods. The only exception is drivers registered with platform_driver_probe() which specifically disables sysfs bind/unbind attributes. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sni_53c710.c')
-rw-r--r--drivers/scsi/sni_53c710.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sni_53c710.c b/drivers/scsi/sni_53c710.c
index 76278072147e..1f9a087daf69 100644
--- a/drivers/scsi/sni_53c710.c
+++ b/drivers/scsi/sni_53c710.c
@@ -117,7 +117,7 @@ static int snirm710_probe(struct platform_device *dev)
return -ENODEV;
}
-static int __exit snirm710_driver_remove(struct platform_device *dev)
+static int snirm710_driver_remove(struct platform_device *dev)
{
struct Scsi_Host *host = dev_get_drvdata(&dev->dev);
struct NCR_700_Host_Parameters *hostdata =