diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:08:55 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:01 -0500 |
commit | 6f039790510fd630ff348efe8c4802dbaa041fba (patch) | |
tree | bf99ab35c78f689a40f3057537209be5f7ca88d6 /drivers/scsi/dmx3191d.c | |
parent | 48c68c4f1b542444f175a9e136febcecf3e704d8 (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/dmx3191d.c')
-rw-r--r-- | drivers/scsi/dmx3191d.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/dmx3191d.c b/drivers/scsi/dmx3191d.c index 207352cc70cc..4b0dd8c56707 100644 --- a/drivers/scsi/dmx3191d.c +++ b/drivers/scsi/dmx3191d.c | |||
@@ -68,8 +68,8 @@ static struct scsi_host_template dmx3191d_driver_template = { | |||
68 | .use_clustering = DISABLE_CLUSTERING, | 68 | .use_clustering = DISABLE_CLUSTERING, |
69 | }; | 69 | }; |
70 | 70 | ||
71 | static int __devinit dmx3191d_probe_one(struct pci_dev *pdev, | 71 | static int dmx3191d_probe_one(struct pci_dev *pdev, |
72 | const struct pci_device_id *id) | 72 | const struct pci_device_id *id) |
73 | { | 73 | { |
74 | struct Scsi_Host *shost; | 74 | struct Scsi_Host *shost; |
75 | unsigned long io; | 75 | unsigned long io; |
@@ -123,7 +123,7 @@ static int __devinit dmx3191d_probe_one(struct pci_dev *pdev, | |||
123 | return error; | 123 | return error; |
124 | } | 124 | } |
125 | 125 | ||
126 | static void __devexit dmx3191d_remove_one(struct pci_dev *pdev) | 126 | static void dmx3191d_remove_one(struct pci_dev *pdev) |
127 | { | 127 | { |
128 | struct Scsi_Host *shost = pci_get_drvdata(pdev); | 128 | struct Scsi_Host *shost = pci_get_drvdata(pdev); |
129 | 129 | ||
@@ -150,7 +150,7 @@ static struct pci_driver dmx3191d_pci_driver = { | |||
150 | .name = DMX3191D_DRIVER_NAME, | 150 | .name = DMX3191D_DRIVER_NAME, |
151 | .id_table = dmx3191d_pci_tbl, | 151 | .id_table = dmx3191d_pci_tbl, |
152 | .probe = dmx3191d_probe_one, | 152 | .probe = dmx3191d_probe_one, |
153 | .remove = __devexit_p(dmx3191d_remove_one), | 153 | .remove = dmx3191d_remove_one, |
154 | }; | 154 | }; |
155 | 155 | ||
156 | static int __init dmx3191d_init(void) | 156 | static int __init dmx3191d_init(void) |