diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2012-12-07 11:57:14 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-12-07 12:06:43 -0500 |
commit | fd4a319bc933ae93e68935b21924a9ca4ba2d060 (patch) | |
tree | 6c813c841e056164fe22bd91a4cd2295028d497d /drivers/spi/spi-pxa2xx-pci.c | |
parent | 7730cba2a50332c194f50a58b86359ea39a82bd1 (diff) |
spi: Remove HOTPLUG section attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev*
markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Bill Pemberton has done most of the legwork on this series. I've used
his script to purge the attributes from the drivers/gpio tree.
Reported-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi-pxa2xx-pci.c')
-rw-r--r-- | drivers/spi/spi-pxa2xx-pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-pxa2xx-pci.c b/drivers/spi/spi-pxa2xx-pci.c index 9f6ba34b172c..cf95587eefde 100644 --- a/drivers/spi/spi-pxa2xx-pci.c +++ b/drivers/spi/spi-pxa2xx-pci.c | |||
@@ -51,7 +51,7 @@ void pxa_ssp_free(struct ssp_device *ssp) | |||
51 | } | 51 | } |
52 | EXPORT_SYMBOL_GPL(pxa_ssp_free); | 52 | EXPORT_SYMBOL_GPL(pxa_ssp_free); |
53 | 53 | ||
54 | static int __devinit ce4100_spi_probe(struct pci_dev *dev, | 54 | static int ce4100_spi_probe(struct pci_dev *dev, |
55 | const struct pci_device_id *ent) | 55 | const struct pci_device_id *ent) |
56 | { | 56 | { |
57 | int ret; | 57 | int ret; |
@@ -129,7 +129,7 @@ err_nomem: | |||
129 | return ret; | 129 | return ret; |
130 | } | 130 | } |
131 | 131 | ||
132 | static void __devexit ce4100_spi_remove(struct pci_dev *dev) | 132 | static void ce4100_spi_remove(struct pci_dev *dev) |
133 | { | 133 | { |
134 | struct ce4100_info *spi_info; | 134 | struct ce4100_info *spi_info; |
135 | struct ssp_device *ssp; | 135 | struct ssp_device *ssp; |
@@ -161,7 +161,7 @@ static struct pci_driver ce4100_spi_driver = { | |||
161 | .name = "ce4100_spi", | 161 | .name = "ce4100_spi", |
162 | .id_table = ce4100_spi_devices, | 162 | .id_table = ce4100_spi_devices, |
163 | .probe = ce4100_spi_probe, | 163 | .probe = ce4100_spi_probe, |
164 | .remove = __devexit_p(ce4100_spi_remove), | 164 | .remove = ce4100_spi_remove, |
165 | }; | 165 | }; |
166 | 166 | ||
167 | module_pci_driver(ce4100_spi_driver); | 167 | module_pci_driver(ce4100_spi_driver); |