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:
@@ -2506,8 +2506,7 @@ fail_add_device:
|
||||
* @pdev: PCI device structure
|
||||
* @id: PCI ids of supported hotplugged adapter
|
||||
*/
|
||||
static int __devinit mvumi_probe_one(struct pci_dev *pdev,
|
||||
const struct pci_device_id *id)
|
||||
static int mvumi_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
||||
{
|
||||
struct Scsi_Host *host;
|
||||
struct mvumi_hba *mhba;
|
||||
@@ -2728,7 +2727,7 @@ static struct pci_driver mvumi_pci_driver = {
|
||||
.name = MV_DRIVER_NAME,
|
||||
.id_table = mvumi_pci_table,
|
||||
.probe = mvumi_probe_one,
|
||||
.remove = __devexit_p(mvumi_detach_one),
|
||||
.remove = mvumi_detach_one,
|
||||
.shutdown = mvumi_shutdown,
|
||||
#ifdef CONFIG_PM
|
||||
.suspend = mvumi_suspend,
|
||||
|
Reference in New Issue
Block a user