aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid/megaraid_sas_base.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/megaraid_sas_base.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/megaraid_sas_base.c')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_base.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index e4f2baacf1e1..66a0fec0437b 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -3972,8 +3972,8 @@ fail_set_dma_mask:
3972 * @pdev: PCI device structure 3972 * @pdev: PCI device structure
3973 * @id: PCI ids of supported hotplugged adapter 3973 * @id: PCI ids of supported hotplugged adapter
3974 */ 3974 */
3975static int __devinit 3975static int megasas_probe_one(struct pci_dev *pdev,
3976megasas_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) 3976 const struct pci_device_id *id)
3977{ 3977{
3978 int rval, pos, i, j; 3978 int rval, pos, i, j;
3979 struct Scsi_Host *host; 3979 struct Scsi_Host *host;
@@ -4525,7 +4525,7 @@ fail_ready_state:
4525 * megasas_detach_one - PCI hot"un"plug entry point 4525 * megasas_detach_one - PCI hot"un"plug entry point
4526 * @pdev: PCI device structure 4526 * @pdev: PCI device structure
4527 */ 4527 */
4528static void __devexit megasas_detach_one(struct pci_dev *pdev) 4528static void megasas_detach_one(struct pci_dev *pdev)
4529{ 4529{
4530 int i; 4530 int i;
4531 struct Scsi_Host *host; 4531 struct Scsi_Host *host;
@@ -5119,7 +5119,7 @@ static struct pci_driver megasas_pci_driver = {
5119 .name = "megaraid_sas", 5119 .name = "megaraid_sas",
5120 .id_table = megasas_pci_table, 5120 .id_table = megasas_pci_table,
5121 .probe = megasas_probe_one, 5121 .probe = megasas_probe_one,
5122 .remove = __devexit_p(megasas_detach_one), 5122 .remove = megasas_detach_one,
5123 .suspend = megasas_suspend, 5123 .suspend = megasas_suspend,
5124 .resume = megasas_resume, 5124 .resume = megasas_resume,
5125 .shutdown = megasas_shutdown, 5125 .shutdown = megasas_shutdown,