diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:08:55 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:01 -0500 |
commit | 6f039790510fd630ff348efe8c4802dbaa041fba (patch) | |
tree | bf99ab35c78f689a40f3057537209be5f7ca88d6 /drivers/scsi/mpt3sas | |
parent | 48c68c4f1b542444f175a9e136febcecf3e704d8 (diff) |
Drivers: scsi: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.
This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.
Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Adam Radford <linuxraid@lsi.com>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/mpt3sas')
-rw-r--r-- | drivers/scsi/mpt3sas/mpt3sas_scsih.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c index 05f80450ac7e..6421a06c4ce2 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c +++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c | |||
@@ -7374,8 +7374,7 @@ _scsih_ir_shutdown(struct MPT3SAS_ADAPTER *ioc) | |||
7374 | * Routine called when unloading the driver. | 7374 | * Routine called when unloading the driver. |
7375 | * Return nothing. | 7375 | * Return nothing. |
7376 | */ | 7376 | */ |
7377 | static void __devexit | 7377 | static void _scsih_remove(struct pci_dev *pdev) |
7378 | _scsih_remove(struct pci_dev *pdev) | ||
7379 | { | 7378 | { |
7380 | struct Scsi_Host *shost = pci_get_drvdata(pdev); | 7379 | struct Scsi_Host *shost = pci_get_drvdata(pdev); |
7381 | struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); | 7380 | struct MPT3SAS_ADAPTER *ioc = shost_priv(shost); |
@@ -8044,7 +8043,7 @@ static struct pci_driver scsih_driver = { | |||
8044 | .name = MPT3SAS_DRIVER_NAME, | 8043 | .name = MPT3SAS_DRIVER_NAME, |
8045 | .id_table = scsih_pci_table, | 8044 | .id_table = scsih_pci_table, |
8046 | .probe = _scsih_probe, | 8045 | .probe = _scsih_probe, |
8047 | .remove = __devexit_p(_scsih_remove), | 8046 | .remove = _scsih_remove, |
8048 | .shutdown = _scsih_shutdown, | 8047 | .shutdown = _scsih_shutdown, |
8049 | .err_handler = &_scsih_err_handler, | 8048 | .err_handler = &_scsih_err_handler, |
8050 | #ifdef CONFIG_PM | 8049 | #ifdef CONFIG_PM |