aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bvme6000_scsi.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/bvme6000_scsi.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/bvme6000_scsi.c')
-rw-r--r--drivers/scsi/bvme6000_scsi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/bvme6000_scsi.c b/drivers/scsi/bvme6000_scsi.c
index d40ea2f5be10..1e3f96adf9da 100644
--- a/drivers/scsi/bvme6000_scsi.c
+++ b/drivers/scsi/bvme6000_scsi.c
@@ -34,7 +34,7 @@ static struct scsi_host_template bvme6000_scsi_driver_template = {
34 34
35static struct platform_device *bvme6000_scsi_device; 35static struct platform_device *bvme6000_scsi_device;
36 36
37static __devinit int 37static int
38bvme6000_probe(struct platform_device *dev) 38bvme6000_probe(struct platform_device *dev)
39{ 39{
40 struct Scsi_Host *host; 40 struct Scsi_Host *host;
@@ -88,7 +88,7 @@ bvme6000_probe(struct platform_device *dev)
88 return -ENODEV; 88 return -ENODEV;
89} 89}
90 90
91static __devexit int 91static int
92bvme6000_device_remove(struct platform_device *dev) 92bvme6000_device_remove(struct platform_device *dev)
93{ 93{
94 struct Scsi_Host *host = platform_get_drvdata(dev); 94 struct Scsi_Host *host = platform_get_drvdata(dev);
@@ -108,7 +108,7 @@ static struct platform_driver bvme6000_scsi_driver = {
108 .owner = THIS_MODULE, 108 .owner = THIS_MODULE,
109 }, 109 },
110 .probe = bvme6000_probe, 110 .probe = bvme6000_probe,
111 .remove = __devexit_p(bvme6000_device_remove), 111 .remove = bvme6000_device_remove,
112}; 112};
113 113
114static int __init bvme6000_scsi_init(void) 114static int __init bvme6000_scsi_init(void)