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-xcomm.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-xcomm.c')
-rw-r--r-- | drivers/spi/spi-xcomm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-xcomm.c b/drivers/spi/spi-xcomm.c index 266a847e2992..4d3ec8b9f479 100644 --- a/drivers/spi/spi-xcomm.c +++ b/drivers/spi/spi-xcomm.c | |||
@@ -217,7 +217,7 @@ static int spi_xcomm_setup(struct spi_device *spi) | |||
217 | return 0; | 217 | return 0; |
218 | } | 218 | } |
219 | 219 | ||
220 | static int __devinit spi_xcomm_probe(struct i2c_client *i2c, | 220 | static int spi_xcomm_probe(struct i2c_client *i2c, |
221 | const struct i2c_device_id *id) | 221 | const struct i2c_device_id *id) |
222 | { | 222 | { |
223 | struct spi_xcomm *spi_xcomm; | 223 | struct spi_xcomm *spi_xcomm; |
@@ -246,7 +246,7 @@ static int __devinit spi_xcomm_probe(struct i2c_client *i2c, | |||
246 | return ret; | 246 | return ret; |
247 | } | 247 | } |
248 | 248 | ||
249 | static int __devexit spi_xcomm_remove(struct i2c_client *i2c) | 249 | static int spi_xcomm_remove(struct i2c_client *i2c) |
250 | { | 250 | { |
251 | struct spi_master *master = i2c_get_clientdata(i2c); | 251 | struct spi_master *master = i2c_get_clientdata(i2c); |
252 | 252 | ||
@@ -267,7 +267,7 @@ static struct i2c_driver spi_xcomm_driver = { | |||
267 | }, | 267 | }, |
268 | .id_table = spi_xcomm_ids, | 268 | .id_table = spi_xcomm_ids, |
269 | .probe = spi_xcomm_probe, | 269 | .probe = spi_xcomm_probe, |
270 | .remove = __devexit_p(spi_xcomm_remove), | 270 | .remove = spi_xcomm_remove, |
271 | }; | 271 | }; |
272 | module_i2c_driver(spi_xcomm_driver); | 272 | module_i2c_driver(spi_xcomm_driver); |
273 | 273 | ||