aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid.c
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/megaraid.c
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/megaraid.c')
-rw-r--r--drivers/scsi/megaraid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c
index 76ad72d32c3f..9504ec0ec682 100644
--- a/drivers/scsi/megaraid.c
+++ b/drivers/scsi/megaraid.c
@@ -4522,7 +4522,7 @@ static struct scsi_host_template megaraid_template = {
4522 .eh_host_reset_handler = megaraid_reset, 4522 .eh_host_reset_handler = megaraid_reset,
4523}; 4523};
4524 4524
4525static int __devinit 4525static int
4526megaraid_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) 4526megaraid_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
4527{ 4527{
4528 struct Scsi_Host *host; 4528 struct Scsi_Host *host;
@@ -4914,7 +4914,7 @@ __megaraid_shutdown(adapter_t *adapter)
4914 mdelay(1000); 4914 mdelay(1000);
4915} 4915}
4916 4916
4917static void __devexit 4917static void
4918megaraid_remove_one(struct pci_dev *pdev) 4918megaraid_remove_one(struct pci_dev *pdev)
4919{ 4919{
4920 struct Scsi_Host *host = pci_get_drvdata(pdev); 4920 struct Scsi_Host *host = pci_get_drvdata(pdev);
@@ -5008,7 +5008,7 @@ static struct pci_driver megaraid_pci_driver = {
5008 .name = "megaraid_legacy", 5008 .name = "megaraid_legacy",
5009 .id_table = megaraid_pci_tbl, 5009 .id_table = megaraid_pci_tbl,
5010 .probe = megaraid_probe_one, 5010 .probe = megaraid_probe_one,
5011 .remove = __devexit_p(megaraid_remove_one), 5011 .remove = megaraid_remove_one,
5012 .shutdown = megaraid_shutdown, 5012 .shutdown = megaraid_shutdown,
5013}; 5013};
5014 5014