aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sun3x_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/sun3x_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/sun3x_esp.c')
-rw-r--r--drivers/scsi/sun3x_esp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/sun3x_esp.c b/drivers/scsi/sun3x_esp.c
index 0621037f0271..534eb96fc3a7 100644
--- a/drivers/scsi/sun3x_esp.c
+++ b/drivers/scsi/sun3x_esp.c
@@ -194,7 +194,7 @@ static const struct esp_driver_ops sun3x_esp_ops = {
194 .dma_error = sun3x_esp_dma_error, 194 .dma_error = sun3x_esp_dma_error,
195}; 195};
196 196
197static int __devinit esp_sun3x_probe(struct platform_device *dev) 197static int esp_sun3x_probe(struct platform_device *dev)
198{ 198{
199 struct scsi_host_template *tpnt = &scsi_esp_template; 199 struct scsi_host_template *tpnt = &scsi_esp_template;
200 struct Scsi_Host *host; 200 struct Scsi_Host *host;
@@ -268,7 +268,7 @@ fail:
268 return err; 268 return err;
269} 269}
270 270
271static int __devexit esp_sun3x_remove(struct platform_device *dev) 271static int esp_sun3x_remove(struct platform_device *dev)
272{ 272{
273 struct esp *esp = dev_get_drvdata(&dev->dev); 273 struct esp *esp = dev_get_drvdata(&dev->dev);
274 unsigned int irq = esp->host->irq; 274 unsigned int irq = esp->host->irq;
@@ -292,7 +292,7 @@ static int __devexit esp_sun3x_remove(struct platform_device *dev)
292 292
293static struct platform_driver esp_sun3x_driver = { 293static struct platform_driver esp_sun3x_driver = {
294 .probe = esp_sun3x_probe, 294 .probe = esp_sun3x_probe,
295 .remove = __devexit_p(esp_sun3x_remove), 295 .remove = esp_sun3x_remove,
296 .driver = { 296 .driver = {
297 .name = "sun3x_esp", 297 .name = "sun3x_esp",
298 .owner = THIS_MODULE, 298 .owner = THIS_MODULE,