aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/jazz_esp.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/jazz_esp.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/jazz_esp.c')
-rw-r--r--drivers/scsi/jazz_esp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/jazz_esp.c b/drivers/scsi/jazz_esp.c
index 27cfb0cb186c..69efbf12b299 100644
--- a/drivers/scsi/jazz_esp.c
+++ b/drivers/scsi/jazz_esp.c
@@ -129,7 +129,7 @@ static const struct esp_driver_ops jazz_esp_ops = {
129 .dma_error = jazz_esp_dma_error, 129 .dma_error = jazz_esp_dma_error,
130}; 130};
131 131
132static int __devinit esp_jazz_probe(struct platform_device *dev) 132static int esp_jazz_probe(struct platform_device *dev)
133{ 133{
134 struct scsi_host_template *tpnt = &scsi_esp_template; 134 struct scsi_host_template *tpnt = &scsi_esp_template;
135 struct Scsi_Host *host; 135 struct Scsi_Host *host;
@@ -201,7 +201,7 @@ fail:
201 return err; 201 return err;
202} 202}
203 203
204static int __devexit esp_jazz_remove(struct platform_device *dev) 204static int esp_jazz_remove(struct platform_device *dev)
205{ 205{
206 struct esp *esp = dev_get_drvdata(&dev->dev); 206 struct esp *esp = dev_get_drvdata(&dev->dev);
207 unsigned int irq = esp->host->irq; 207 unsigned int irq = esp->host->irq;
@@ -223,7 +223,7 @@ MODULE_ALIAS("platform:jazz_esp");
223 223
224static struct platform_driver esp_jazz_driver = { 224static struct platform_driver esp_jazz_driver = {
225 .probe = esp_jazz_probe, 225 .probe = esp_jazz_probe,
226 .remove = __devexit_p(esp_jazz_remove), 226 .remove = esp_jazz_remove,
227 .driver = { 227 .driver = {
228 .name = "jazz_esp", 228 .name = "jazz_esp",
229 .owner = THIS_MODULE, 229 .owner = THIS_MODULE,