]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: remove incorrect __exit markups
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 2 Mar 2017 01:38:38 +0000 (17:38 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 15 Mar 2017 23:27:46 +0000 (19:27 -0400)
commite74685308e1ce3fe5c53e14c384c38a4f68f168a
treedc3f4ee01ed5943b9fc245af6caaf5afbf35f10d
parent17b82736dd1af39bfda5f81982211324ae6ea6f4
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>
drivers/scsi/sgiwd93.c
drivers/scsi/sni_53c710.c
drivers/scsi/zalon.c