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>
This commit is contained in:
@@ -129,7 +129,7 @@ static const struct esp_driver_ops jazz_esp_ops = {
|
||||
.dma_error = jazz_esp_dma_error,
|
||||
};
|
||||
|
||||
static int __devinit esp_jazz_probe(struct platform_device *dev)
|
||||
static int esp_jazz_probe(struct platform_device *dev)
|
||||
{
|
||||
struct scsi_host_template *tpnt = &scsi_esp_template;
|
||||
struct Scsi_Host *host;
|
||||
@@ -201,7 +201,7 @@ fail:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit esp_jazz_remove(struct platform_device *dev)
|
||||
static int esp_jazz_remove(struct platform_device *dev)
|
||||
{
|
||||
struct esp *esp = dev_get_drvdata(&dev->dev);
|
||||
unsigned int irq = esp->host->irq;
|
||||
@@ -223,7 +223,7 @@ MODULE_ALIAS("platform:jazz_esp");
|
||||
|
||||
static struct platform_driver esp_jazz_driver = {
|
||||
.probe = esp_jazz_probe,
|
||||
.remove = __devexit_p(esp_jazz_remove),
|
||||
.remove = esp_jazz_remove,
|
||||
.driver = {
|
||||
.name = "jazz_esp",
|
||||
.owner = THIS_MODULE,
|
||||
|
Reference in New Issue
Block a user