aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 16:08:55 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:01 -0500
commit6f039790510fd630ff348efe8c4802dbaa041fba (patch)
treebf99ab35c78f689a40f3057537209be5f7ca88d6 /drivers/scsi/mpt2sas
parent48c68c4f1b542444f175a9e136febcecf3e704d8 (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/mpt2sas')
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_scsih.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
index af4e6c451b1b..c6bdc9267229 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
@@ -7686,7 +7686,7 @@ _scsih_shutdown(struct pci_dev *pdev)
7686 * Routine called when unloading the driver. 7686 * Routine called when unloading the driver.
7687 * Return nothing. 7687 * Return nothing.
7688 */ 7688 */
7689static void __devexit 7689static void
7690_scsih_remove(struct pci_dev *pdev) 7690_scsih_remove(struct pci_dev *pdev)
7691{ 7691{
7692 struct Scsi_Host *shost = pci_get_drvdata(pdev); 7692 struct Scsi_Host *shost = pci_get_drvdata(pdev);
@@ -8338,7 +8338,7 @@ static struct pci_driver scsih_driver = {
8338 .name = MPT2SAS_DRIVER_NAME, 8338 .name = MPT2SAS_DRIVER_NAME,
8339 .id_table = scsih_pci_table, 8339 .id_table = scsih_pci_table,
8340 .probe = _scsih_probe, 8340 .probe = _scsih_probe,
8341 .remove = __devexit_p(_scsih_remove), 8341 .remove = _scsih_remove,
8342 .shutdown = _scsih_shutdown, 8342 .shutdown = _scsih_shutdown,
8343 .err_handler = &_scsih_err_handler, 8343 .err_handler = &_scsih_err_handler,
8344#ifdef CONFIG_PM 8344#ifdef CONFIG_PM