diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 18:04:26 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:14 -0500 |
commit | 47b1ea75fe072432f5b93ced21c019ed2b930c98 (patch) | |
tree | ffd01ccc67a744174717b692b9a005ce98543690 /drivers/message/fusion | |
parent | 1da42fb6bf6fcddfa8981df0cf63b67c745778a6 (diff) |
Drivers: message: 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,
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: Nagalakshmi Nandigama <Nagalakshmi.Nandigama@lsi.com>
Cc: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/message/fusion')
-rw-r--r-- | drivers/message/fusion/mptfc.c | 7 | ||||
-rw-r--r-- | drivers/message/fusion/mptsas.c | 4 | ||||
-rw-r--r-- | drivers/message/fusion/mptspi.c | 2 |
3 files changed, 6 insertions, 7 deletions
diff --git a/drivers/message/fusion/mptfc.c b/drivers/message/fusion/mptfc.c index d784c36707c..c13cd9bc590 100644 --- a/drivers/message/fusion/mptfc.c +++ b/drivers/message/fusion/mptfc.c | |||
@@ -100,7 +100,7 @@ static int mptfc_slave_alloc(struct scsi_device *sdev); | |||
100 | static int mptfc_qcmd(struct Scsi_Host *shost, struct scsi_cmnd *SCpnt); | 100 | static int mptfc_qcmd(struct Scsi_Host *shost, struct scsi_cmnd *SCpnt); |
101 | static void mptfc_target_destroy(struct scsi_target *starget); | 101 | static void mptfc_target_destroy(struct scsi_target *starget); |
102 | static void mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout); | 102 | static void mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout); |
103 | static void __devexit mptfc_remove(struct pci_dev *pdev); | 103 | static void mptfc_remove(struct pci_dev *pdev); |
104 | static int mptfc_abort(struct scsi_cmnd *SCpnt); | 104 | static int mptfc_abort(struct scsi_cmnd *SCpnt); |
105 | static int mptfc_dev_reset(struct scsi_cmnd *SCpnt); | 105 | static int mptfc_dev_reset(struct scsi_cmnd *SCpnt); |
106 | static int mptfc_bus_reset(struct scsi_cmnd *SCpnt); | 106 | static int mptfc_bus_reset(struct scsi_cmnd *SCpnt); |
@@ -1360,7 +1360,7 @@ static struct pci_driver mptfc_driver = { | |||
1360 | .name = "mptfc", | 1360 | .name = "mptfc", |
1361 | .id_table = mptfc_pci_table, | 1361 | .id_table = mptfc_pci_table, |
1362 | .probe = mptfc_probe, | 1362 | .probe = mptfc_probe, |
1363 | .remove = __devexit_p(mptfc_remove), | 1363 | .remove = mptfc_remove, |
1364 | .shutdown = mptscsih_shutdown, | 1364 | .shutdown = mptscsih_shutdown, |
1365 | #ifdef CONFIG_PM | 1365 | #ifdef CONFIG_PM |
1366 | .suspend = mptscsih_suspend, | 1366 | .suspend = mptscsih_suspend, |
@@ -1496,8 +1496,7 @@ mptfc_init(void) | |||
1496 | * @pdev: Pointer to pci_dev structure | 1496 | * @pdev: Pointer to pci_dev structure |
1497 | * | 1497 | * |
1498 | */ | 1498 | */ |
1499 | static void __devexit | 1499 | static void mptfc_remove(struct pci_dev *pdev) |
1500 | mptfc_remove(struct pci_dev *pdev) | ||
1501 | { | 1500 | { |
1502 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); | 1501 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); |
1503 | struct mptfc_rport_info *p, *n; | 1502 | struct mptfc_rport_info *p, *n; |
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c index 551262e4b96..fa43c391c8e 100644 --- a/drivers/message/fusion/mptsas.c +++ b/drivers/message/fusion/mptsas.c | |||
@@ -5332,7 +5332,7 @@ mptsas_shutdown(struct pci_dev *pdev) | |||
5332 | mptsas_cleanup_fw_event_q(ioc); | 5332 | mptsas_cleanup_fw_event_q(ioc); |
5333 | } | 5333 | } |
5334 | 5334 | ||
5335 | static void __devexit mptsas_remove(struct pci_dev *pdev) | 5335 | static void mptsas_remove(struct pci_dev *pdev) |
5336 | { | 5336 | { |
5337 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); | 5337 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); |
5338 | struct mptsas_portinfo *p, *n; | 5338 | struct mptsas_portinfo *p, *n; |
@@ -5387,7 +5387,7 @@ static struct pci_driver mptsas_driver = { | |||
5387 | .name = "mptsas", | 5387 | .name = "mptsas", |
5388 | .id_table = mptsas_pci_table, | 5388 | .id_table = mptsas_pci_table, |
5389 | .probe = mptsas_probe, | 5389 | .probe = mptsas_probe, |
5390 | .remove = __devexit_p(mptsas_remove), | 5390 | .remove = mptsas_remove, |
5391 | .shutdown = mptsas_shutdown, | 5391 | .shutdown = mptsas_shutdown, |
5392 | #ifdef CONFIG_PM | 5392 | #ifdef CONFIG_PM |
5393 | .suspend = mptscsih_suspend, | 5393 | .suspend = mptscsih_suspend, |
diff --git a/drivers/message/fusion/mptspi.c b/drivers/message/fusion/mptspi.c index 8f61ba6aac2..c3aabde2dc4 100644 --- a/drivers/message/fusion/mptspi.c +++ b/drivers/message/fusion/mptspi.c | |||
@@ -1550,7 +1550,7 @@ static struct pci_driver mptspi_driver = { | |||
1550 | .name = "mptspi", | 1550 | .name = "mptspi", |
1551 | .id_table = mptspi_pci_table, | 1551 | .id_table = mptspi_pci_table, |
1552 | .probe = mptspi_probe, | 1552 | .probe = mptspi_probe, |
1553 | .remove = __devexit_p(mptscsih_remove), | 1553 | .remove = mptscsih_remove, |
1554 | .shutdown = mptscsih_shutdown, | 1554 | .shutdown = mptscsih_shutdown, |
1555 | #ifdef CONFIG_PM | 1555 | #ifdef CONFIG_PM |
1556 | .suspend = mptscsih_suspend, | 1556 | .suspend = mptscsih_suspend, |