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:
@@ -1540,8 +1540,7 @@ static void stex_free_irq(struct st_hba *hba)
|
||||
pci_disable_msi(pdev);
|
||||
}
|
||||
|
||||
static int __devinit
|
||||
stex_probe(struct pci_dev *pdev, const struct pci_device_id *id)
|
||||
static int stex_probe(struct pci_dev *pdev, const struct pci_device_id *id)
|
||||
{
|
||||
struct st_hba *hba;
|
||||
struct Scsi_Host *host;
|
||||
@@ -1815,7 +1814,7 @@ static struct pci_driver stex_pci_driver = {
|
||||
.name = DRV_NAME,
|
||||
.id_table = stex_pci_tbl,
|
||||
.probe = stex_probe,
|
||||
.remove = __devexit_p(stex_remove),
|
||||
.remove = stex_remove,
|
||||
.shutdown = stex_shutdown,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user