aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/a100u2w.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/a100u2w.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/a100u2w.c')
-rw-r--r--drivers/scsi/a100u2w.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c
index a391090a17c5..0163457c12bb 100644
--- a/drivers/scsi/a100u2w.c
+++ b/drivers/scsi/a100u2w.c
@@ -1082,8 +1082,8 @@ static struct scsi_host_template inia100_template = {
1082 .use_clustering = ENABLE_CLUSTERING, 1082 .use_clustering = ENABLE_CLUSTERING,
1083}; 1083};
1084 1084
1085static int __devinit inia100_probe_one(struct pci_dev *pdev, 1085static int inia100_probe_one(struct pci_dev *pdev,
1086 const struct pci_device_id *id) 1086 const struct pci_device_id *id)
1087{ 1087{
1088 struct Scsi_Host *shost; 1088 struct Scsi_Host *shost;
1089 struct orc_host *host; 1089 struct orc_host *host;
@@ -1197,7 +1197,7 @@ out:
1197 return error; 1197 return error;
1198} 1198}
1199 1199
1200static void __devexit inia100_remove_one(struct pci_dev *pdev) 1200static void inia100_remove_one(struct pci_dev *pdev)
1201{ 1201{
1202 struct Scsi_Host *shost = pci_get_drvdata(pdev); 1202 struct Scsi_Host *shost = pci_get_drvdata(pdev);
1203 struct orc_host *host = (struct orc_host *)shost->hostdata; 1203 struct orc_host *host = (struct orc_host *)shost->hostdata;
@@ -1224,7 +1224,7 @@ static struct pci_driver inia100_pci_driver = {
1224 .name = "inia100", 1224 .name = "inia100",
1225 .id_table = inia100_pci_tbl, 1225 .id_table = inia100_pci_tbl,
1226 .probe = inia100_probe_one, 1226 .probe = inia100_probe_one,
1227 .remove = __devexit_p(inia100_remove_one), 1227 .remove = inia100_remove_one,
1228}; 1228};
1229 1229
1230static int __init inia100_init(void) 1230static int __init inia100_init(void)