aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci
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/isci
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/isci')
-rw-r--r--drivers/scsi/isci/init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c
index b74050b95d6a..d73fdcfeb45a 100644
--- a/drivers/scsi/isci/init.c
+++ b/drivers/scsi/isci/init.c
@@ -282,7 +282,7 @@ static void isci_unregister(struct isci_host *isci_host)
282 scsi_host_put(shost); 282 scsi_host_put(shost);
283} 283}
284 284
285static int __devinit isci_pci_init(struct pci_dev *pdev) 285static int isci_pci_init(struct pci_dev *pdev)
286{ 286{
287 int err, bar_num, bar_mask = 0; 287 int err, bar_num, bar_mask = 0;
288 void __iomem * const *iomap; 288 void __iomem * const *iomap;
@@ -616,7 +616,7 @@ static struct isci_host *isci_host_alloc(struct pci_dev *pdev, int id)
616 return NULL; 616 return NULL;
617} 617}
618 618
619static int __devinit isci_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) 619static int isci_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
620{ 620{
621 struct isci_pci_info *pci_info; 621 struct isci_pci_info *pci_info;
622 int err, i; 622 int err, i;
@@ -709,7 +709,7 @@ static int __devinit isci_pci_probe(struct pci_dev *pdev, const struct pci_devic
709 return err; 709 return err;
710} 710}
711 711
712static void __devexit isci_pci_remove(struct pci_dev *pdev) 712static void isci_pci_remove(struct pci_dev *pdev)
713{ 713{
714 struct isci_host *ihost; 714 struct isci_host *ihost;
715 int i; 715 int i;
@@ -778,7 +778,7 @@ static struct pci_driver isci_pci_driver = {
778 .name = DRV_NAME, 778 .name = DRV_NAME,
779 .id_table = isci_id_table, 779 .id_table = isci_id_table,
780 .probe = isci_pci_probe, 780 .probe = isci_pci_probe,
781 .remove = __devexit_p(isci_pci_remove), 781 .remove = isci_pci_remove,
782#ifdef CONFIG_PM 782#ifdef CONFIG_PM
783 .driver.pm = &isci_pm_ops, 783 .driver.pm = &isci_pm_ops,
784#endif 784#endif