aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/a2091.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/a2091.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/a2091.c')
-rw-r--r--drivers/scsi/a2091.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/scsi/a2091.c b/drivers/scsi/a2091.c
index 79a30633d4aa..3e09aa21c1ca 100644
--- a/drivers/scsi/a2091.c
+++ b/drivers/scsi/a2091.c
@@ -179,8 +179,7 @@ static struct scsi_host_template a2091_scsi_template = {
179 .use_clustering = DISABLE_CLUSTERING 179 .use_clustering = DISABLE_CLUSTERING
180}; 180};
181 181
182static int __devinit a2091_probe(struct zorro_dev *z, 182static int a2091_probe(struct zorro_dev *z, const struct zorro_device_id *ent)
183 const struct zorro_device_id *ent)
184{ 183{
185 struct Scsi_Host *instance; 184 struct Scsi_Host *instance;
186 int error; 185 int error;
@@ -239,7 +238,7 @@ fail_alloc:
239 return error; 238 return error;
240} 239}
241 240
242static void __devexit a2091_remove(struct zorro_dev *z) 241static void a2091_remove(struct zorro_dev *z)
243{ 242{
244 struct Scsi_Host *instance = zorro_get_drvdata(z); 243 struct Scsi_Host *instance = zorro_get_drvdata(z);
245 struct a2091_hostdata *hdata = shost_priv(instance); 244 struct a2091_hostdata *hdata = shost_priv(instance);
@@ -251,7 +250,7 @@ static void __devexit a2091_remove(struct zorro_dev *z)
251 release_mem_region(z->resource.start, 256); 250 release_mem_region(z->resource.start, 256);
252} 251}
253 252
254static struct zorro_device_id a2091_zorro_tbl[] __devinitdata = { 253static struct zorro_device_id a2091_zorro_tbl[] = {
255 { ZORRO_PROD_CBM_A590_A2091_1 }, 254 { ZORRO_PROD_CBM_A590_A2091_1 },
256 { ZORRO_PROD_CBM_A590_A2091_2 }, 255 { ZORRO_PROD_CBM_A590_A2091_2 },
257 { 0 } 256 { 0 }
@@ -262,7 +261,7 @@ static struct zorro_driver a2091_driver = {
262 .name = "a2091", 261 .name = "a2091",
263 .id_table = a2091_zorro_tbl, 262 .id_table = a2091_zorro_tbl,
264 .probe = a2091_probe, 263 .probe = a2091_probe,
265 .remove = __devexit_p(a2091_remove), 264 .remove = a2091_remove,
266}; 265};
267 266
268static int __init a2091_init(void) 267static int __init a2091_init(void)