aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-xcomm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-xcomm.c')
-rw-r--r--drivers/spi/spi-xcomm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-xcomm.c b/drivers/spi/spi-xcomm.c
index 266a847e299..4d3ec8b9f47 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
220static int __devinit spi_xcomm_probe(struct i2c_client *i2c, 220static 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
249static int __devexit spi_xcomm_remove(struct i2c_client *i2c) 249static 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};
272module_i2c_driver(spi_xcomm_driver); 272module_i2c_driver(spi_xcomm_driver);
273 273