Commit 447d4f29 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

staging: iio: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.
Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4ae1c61f
...@@ -224,7 +224,7 @@ static int adis16201_probe(struct spi_device *spi) ...@@ -224,7 +224,7 @@ static int adis16201_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit adis16201_remove(struct spi_device *spi) static int adis16201_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct adis *st = iio_priv(indio_dev); struct adis *st = iio_priv(indio_dev);
......
...@@ -191,7 +191,7 @@ static int adis16203_probe(struct spi_device *spi) ...@@ -191,7 +191,7 @@ static int adis16203_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit adis16203_remove(struct spi_device *spi) static int adis16203_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct adis *st = iio_priv(indio_dev); struct adis *st = iio_priv(indio_dev);
......
...@@ -231,7 +231,7 @@ static int adis16204_probe(struct spi_device *spi) ...@@ -231,7 +231,7 @@ static int adis16204_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit adis16204_remove(struct spi_device *spi) static int adis16204_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct adis *st = iio_priv(indio_dev); struct adis *st = iio_priv(indio_dev);
......
...@@ -224,7 +224,7 @@ static int adis16209_probe(struct spi_device *spi) ...@@ -224,7 +224,7 @@ static int adis16209_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit adis16209_remove(struct spi_device *spi) static int adis16209_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct adis *st = iio_priv(indio_dev); struct adis *st = iio_priv(indio_dev);
......
...@@ -484,7 +484,7 @@ static int adis16220_probe(struct spi_device *spi) ...@@ -484,7 +484,7 @@ static int adis16220_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit adis16220_remove(struct spi_device *spi) static int adis16220_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
......
...@@ -279,7 +279,7 @@ static int adis16240_probe(struct spi_device *spi) ...@@ -279,7 +279,7 @@ static int adis16240_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit adis16240_remove(struct spi_device *spi) static int adis16240_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct adis *st = iio_priv(indio_dev); struct adis *st = iio_priv(indio_dev);
......
...@@ -261,7 +261,7 @@ static int kxsd9_probe(struct spi_device *spi) ...@@ -261,7 +261,7 @@ static int kxsd9_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit kxsd9_remove(struct spi_device *spi) static int kxsd9_remove(struct spi_device *spi)
{ {
iio_device_unregister(spi_get_drvdata(spi)); iio_device_unregister(spi_get_drvdata(spi));
iio_device_free(spi_get_drvdata(spi)); iio_device_free(spi_get_drvdata(spi));
......
...@@ -782,7 +782,7 @@ static int lis3l02dq_stop_device(struct iio_dev *indio_dev) ...@@ -782,7 +782,7 @@ static int lis3l02dq_stop_device(struct iio_dev *indio_dev)
} }
/* fixme, confirm ordering in this function */ /* fixme, confirm ordering in this function */
static int __devexit lis3l02dq_remove(struct spi_device *spi) static int lis3l02dq_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct lis3l02dq_state *st = iio_priv(indio_dev); struct lis3l02dq_state *st = iio_priv(indio_dev);
......
...@@ -1233,7 +1233,7 @@ static int sca3000_stop_all_interrupts(struct sca3000_state *st) ...@@ -1233,7 +1233,7 @@ static int sca3000_stop_all_interrupts(struct sca3000_state *st)
return ret; return ret;
} }
static int __devexit sca3000_remove(struct spi_device *spi) static int sca3000_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct sca3000_state *st = iio_priv(indio_dev); struct sca3000_state *st = iio_priv(indio_dev);
......
...@@ -686,7 +686,7 @@ static int ad7192_probe(struct spi_device *spi) ...@@ -686,7 +686,7 @@ static int ad7192_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ad7192_remove(struct spi_device *spi) static int ad7192_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct ad7192_state *st = iio_priv(indio_dev); struct ad7192_state *st = iio_priv(indio_dev);
......
...@@ -950,7 +950,7 @@ static int ad7280_probe(struct spi_device *spi) ...@@ -950,7 +950,7 @@ static int ad7280_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ad7280_remove(struct spi_device *spi) static int ad7280_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct ad7280_state *st = iio_priv(indio_dev); struct ad7280_state *st = iio_priv(indio_dev);
......
...@@ -674,7 +674,7 @@ static int ad7291_probe(struct i2c_client *client, ...@@ -674,7 +674,7 @@ static int ad7291_probe(struct i2c_client *client,
return ret; return ret;
} }
static int __devexit ad7291_remove(struct i2c_client *client) static int ad7291_remove(struct i2c_client *client)
{ {
struct iio_dev *indio_dev = i2c_get_clientdata(client); struct iio_dev *indio_dev = i2c_get_clientdata(client);
struct ad7291_chip_info *chip = iio_priv(indio_dev); struct ad7291_chip_info *chip = iio_priv(indio_dev);
......
...@@ -100,7 +100,7 @@ static int ad7606_par_probe(struct platform_device *pdev) ...@@ -100,7 +100,7 @@ static int ad7606_par_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit ad7606_par_remove(struct platform_device *pdev) static int ad7606_par_remove(struct platform_device *pdev)
{ {
struct iio_dev *indio_dev = platform_get_drvdata(pdev); struct iio_dev *indio_dev = platform_get_drvdata(pdev);
struct resource *res; struct resource *res;
......
...@@ -55,7 +55,7 @@ static int ad7606_spi_probe(struct spi_device *spi) ...@@ -55,7 +55,7 @@ static int ad7606_spi_probe(struct spi_device *spi)
return 0; return 0;
} }
static int __devexit ad7606_spi_remove(struct spi_device *spi) static int ad7606_spi_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = dev_get_drvdata(&spi->dev); struct iio_dev *indio_dev = dev_get_drvdata(&spi->dev);
......
...@@ -248,7 +248,7 @@ static int ad7780_probe(struct spi_device *spi) ...@@ -248,7 +248,7 @@ static int ad7780_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ad7780_remove(struct spi_device *spi) static int ad7780_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct ad7780_state *st = iio_priv(indio_dev); struct ad7780_state *st = iio_priv(indio_dev);
......
...@@ -522,7 +522,7 @@ static int ad7793_probe(struct spi_device *spi) ...@@ -522,7 +522,7 @@ static int ad7793_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ad7793_remove(struct spi_device *spi) static int ad7793_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct ad7793_state *st = iio_priv(indio_dev); struct ad7793_state *st = iio_priv(indio_dev);
......
...@@ -431,7 +431,7 @@ static int ad7816_probe(struct spi_device *spi_dev) ...@@ -431,7 +431,7 @@ static int ad7816_probe(struct spi_device *spi_dev)
return ret; return ret;
} }
static int __devexit ad7816_remove(struct spi_device *spi_dev) static int ad7816_remove(struct spi_device *spi_dev)
{ {
struct iio_dev *indio_dev = dev_get_drvdata(&spi_dev->dev); struct iio_dev *indio_dev = dev_get_drvdata(&spi_dev->dev);
struct ad7816_chip_info *chip = iio_priv(indio_dev); struct ad7816_chip_info *chip = iio_priv(indio_dev);
......
...@@ -932,7 +932,7 @@ static int ad799x_probe(struct i2c_client *client, ...@@ -932,7 +932,7 @@ static int ad799x_probe(struct i2c_client *client,
return ret; return ret;
} }
static __devexit int ad799x_remove(struct i2c_client *client) static int ad799x_remove(struct i2c_client *client)
{ {
struct iio_dev *indio_dev = i2c_get_clientdata(client); struct iio_dev *indio_dev = i2c_get_clientdata(client);
struct ad799x_state *st = iio_priv(indio_dev); struct ad799x_state *st = iio_priv(indio_dev);
......
...@@ -792,7 +792,7 @@ static int adt7410_probe(struct device *dev, int irq, ...@@ -792,7 +792,7 @@ static int adt7410_probe(struct device *dev, int irq,
return ret; return ret;
} }
static int __devexit adt7410_remove(struct device *dev, int irq) static int adt7410_remove(struct device *dev, int irq)
{ {
struct iio_dev *indio_dev = dev_get_drvdata(dev); struct iio_dev *indio_dev = dev_get_drvdata(dev);
unsigned long *adt7410_platform_data = dev->platform_data; unsigned long *adt7410_platform_data = dev->platform_data;
...@@ -883,7 +883,7 @@ static int adt7410_i2c_probe(struct i2c_client *client, ...@@ -883,7 +883,7 @@ static int adt7410_i2c_probe(struct i2c_client *client,
&adt7410_i2c_ops); &adt7410_i2c_ops);
} }
static int __devexit adt7410_i2c_remove(struct i2c_client *client) static int adt7410_i2c_remove(struct i2c_client *client)
{ {
return adt7410_remove(&client->dev, client->irq); return adt7410_remove(&client->dev, client->irq);
} }
...@@ -1036,7 +1036,7 @@ static int adt7310_spi_probe(struct spi_device *spi) ...@@ -1036,7 +1036,7 @@ static int adt7310_spi_probe(struct spi_device *spi)
spi_get_device_id(spi)->name, &adt7310_spi_ops); spi_get_device_id(spi)->name, &adt7310_spi_ops);
} }
static int __devexit adt7310_spi_remove(struct spi_device *spi) static int adt7310_spi_remove(struct spi_device *spi)
{ {
return adt7410_remove(&spi->dev, spi->irq); return adt7410_remove(&spi->dev, spi->irq);
} }
......
...@@ -207,7 +207,7 @@ static int lpc32xx_adc_probe(struct platform_device *pdev) ...@@ -207,7 +207,7 @@ static int lpc32xx_adc_probe(struct platform_device *pdev)
return retval; return retval;
} }
static int __devexit lpc32xx_adc_remove(struct platform_device *pdev) static int lpc32xx_adc_remove(struct platform_device *pdev)
{ {
struct iio_dev *iodev = platform_get_drvdata(pdev); struct iio_dev *iodev = platform_get_drvdata(pdev);
struct lpc32xx_adc_info *info = iio_priv(iodev); struct lpc32xx_adc_info *info = iio_priv(iodev);
......
...@@ -551,7 +551,7 @@ static int mxs_lradc_probe(struct platform_device *pdev) ...@@ -551,7 +551,7 @@ static int mxs_lradc_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit mxs_lradc_remove(struct platform_device *pdev) static int mxs_lradc_remove(struct platform_device *pdev)
{ {
struct iio_dev *iio = platform_get_drvdata(pdev); struct iio_dev *iio = platform_get_drvdata(pdev);
struct mxs_lradc *lradc = iio_priv(iio); struct mxs_lradc *lradc = iio_priv(iio);
......
...@@ -401,7 +401,7 @@ static int spear_adc_probe(struct platform_device *pdev) ...@@ -401,7 +401,7 @@ static int spear_adc_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit spear_adc_remove(struct platform_device *pdev) static int spear_adc_remove(struct platform_device *pdev)
{ {
struct iio_dev *iodev = platform_get_drvdata(pdev); struct iio_dev *iodev = platform_get_drvdata(pdev);
struct spear_adc_info *info = iio_priv(iodev); struct spear_adc_info *info = iio_priv(iodev);
......
...@@ -108,7 +108,7 @@ static int adt7316_i2c_probe(struct i2c_client *client, ...@@ -108,7 +108,7 @@ static int adt7316_i2c_probe(struct i2c_client *client,
return adt7316_probe(&client->dev, &bus, id->name); return adt7316_probe(&client->dev, &bus, id->name);
} }
static int __devexit adt7316_i2c_remove(struct i2c_client *client) static int adt7316_i2c_remove(struct i2c_client *client)
{ {
return adt7316_remove(&client->dev); return adt7316_remove(&client->dev);
} }
......
...@@ -116,7 +116,7 @@ static int adt7316_spi_probe(struct spi_device *spi_dev) ...@@ -116,7 +116,7 @@ static int adt7316_spi_probe(struct spi_device *spi_dev)
return adt7316_probe(&spi_dev->dev, &bus, spi_dev->modalias); return adt7316_probe(&spi_dev->dev, &bus, spi_dev->modalias);
} }
static int __devexit adt7316_spi_remove(struct spi_device *spi_dev) static int adt7316_spi_remove(struct spi_device *spi_dev)
{ {
return adt7316_remove(&spi_dev->dev); return adt7316_remove(&spi_dev->dev);
} }
......
...@@ -2216,7 +2216,7 @@ int adt7316_probe(struct device *dev, struct adt7316_bus *bus, ...@@ -2216,7 +2216,7 @@ int adt7316_probe(struct device *dev, struct adt7316_bus *bus,
} }
EXPORT_SYMBOL(adt7316_probe); EXPORT_SYMBOL(adt7316_probe);
int __devexit adt7316_remove(struct device *dev) int adt7316_remove(struct device *dev)
{ {
struct iio_dev *indio_dev = dev_get_drvdata(dev); struct iio_dev *indio_dev = dev_get_drvdata(dev);
struct adt7316_chip_info *chip = iio_priv(indio_dev); struct adt7316_chip_info *chip = iio_priv(indio_dev);
......
...@@ -628,7 +628,7 @@ static int ad7150_probe(struct i2c_client *client, ...@@ -628,7 +628,7 @@ static int ad7150_probe(struct i2c_client *client,
return ret; return ret;
} }
static int __devexit ad7150_remove(struct i2c_client *client) static int ad7150_remove(struct i2c_client *client)
{ {
struct iio_dev *indio_dev = i2c_get_clientdata(client); struct iio_dev *indio_dev = i2c_get_clientdata(client);
......
...@@ -518,7 +518,7 @@ static int ad7152_probe(struct i2c_client *client, ...@@ -518,7 +518,7 @@ static int ad7152_probe(struct i2c_client *client,
return ret; return ret;
} }
static int __devexit ad7152_remove(struct i2c_client *client) static int ad7152_remove(struct i2c_client *client)
{ {
struct iio_dev *indio_dev = i2c_get_clientdata(client); struct iio_dev *indio_dev = i2c_get_clientdata(client);
......
...@@ -768,7 +768,7 @@ static int ad7746_probe(struct i2c_client *client, ...@@ -768,7 +768,7 @@ static int ad7746_probe(struct i2c_client *client,
return ret; return ret;
} }
static int __devexit ad7746_remove(struct i2c_client *client) static int ad7746_remove(struct i2c_client *client)
{ {
struct iio_dev *indio_dev = i2c_get_clientdata(client); struct iio_dev *indio_dev = i2c_get_clientdata(client);
......
...@@ -127,7 +127,7 @@ static int ad5930_probe(struct spi_device *spi) ...@@ -127,7 +127,7 @@ static int ad5930_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ad5930_remove(struct spi_device *spi) static int ad5930_remove(struct spi_device *spi)
{ {
iio_device_unregister(spi_get_drvdata(spi)); iio_device_unregister(spi_get_drvdata(spi));
iio_device_free(spi_get_drvdata(spi)); iio_device_free(spi_get_drvdata(spi));
......
...@@ -324,7 +324,7 @@ static int ad9832_probe(struct spi_device *spi) ...@@ -324,7 +324,7 @@ static int ad9832_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ad9832_remove(struct spi_device *spi) static int ad9832_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct ad9832_state *st = iio_priv(indio_dev); struct ad9832_state *st = iio_priv(indio_dev);
......
...@@ -424,7 +424,7 @@ static int ad9834_probe(struct spi_device *spi) ...@@ -424,7 +424,7 @@ static int ad9834_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ad9834_remove(struct spi_device *spi) static int ad9834_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct ad9834_state *st = iio_priv(indio_dev); struct ad9834_state *st = iio_priv(indio_dev);
......
...@@ -113,7 +113,7 @@ static int ad9850_probe(struct spi_device *spi) ...@@ -113,7 +113,7 @@ static int ad9850_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ad9850_remove(struct spi_device *spi) static int ad9850_remove(struct spi_device *spi)
{ {
iio_device_unregister(spi_get_drvdata(spi)); iio_device_unregister(spi_get_drvdata(spi));
iio_device_free(spi_get_drvdata(spi)); iio_device_free(spi_get_drvdata(spi));
......
...@@ -264,7 +264,7 @@ static int ad9852_probe(struct spi_device *spi) ...@@ -264,7 +264,7 @@ static int ad9852_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ad9852_remove(struct spi_device *spi) static int ad9852_remove(struct spi_device *spi)
{ {
iio_device_unregister(spi_get_drvdata(spi)); iio_device_unregister(spi_get_drvdata(spi));
iio_device_free(spi_get_drvdata(spi)); iio_device_free(spi_get_drvdata(spi));
......
...@@ -397,7 +397,7 @@ static int ad9910_probe(struct spi_device *spi) ...@@ -397,7 +397,7 @@ static int ad9910_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ad9910_remove(struct spi_device *spi) static int ad9910_remove(struct spi_device *spi)
{ {
iio_device_unregister(spi_get_drvdata(spi)); iio_device_unregister(spi_get_drvdata(spi));
iio_device_free(spi_get_drvdata(spi)); iio_device_free(spi_get_drvdata(spi));
......
...@@ -208,7 +208,7 @@ static int ad9951_probe(struct spi_device *spi) ...@@ -208,7 +208,7 @@ static int ad9951_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ad9951_remove(struct spi_device *spi) static int ad9951_remove(struct spi_device *spi)
{ {
iio_device_unregister(spi_get_drvdata(spi)); iio_device_unregister(spi_get_drvdata(spi));
iio_device_free(spi_get_drvdata(spi)); iio_device_free(spi_get_drvdata(spi));
......
...@@ -184,7 +184,7 @@ static int adis16060_r_probe(struct spi_device *spi) ...@@ -184,7 +184,7 @@ static int adis16060_r_probe(struct spi_device *spi)
} }
/* fixme, confirm ordering in this function */ /* fixme, confirm ordering in this function */
static int __devexit adis16060_r_remove(struct spi_device *spi) static int adis16060_r_remove(struct spi_device *spi)
{ {
iio_device_unregister(spi_get_drvdata(spi)); iio_device_unregister(spi_get_drvdata(spi));
iio_device_free(spi_get_drvdata(spi)); iio_device_free(spi_get_drvdata(spi));
...@@ -210,7 +210,7 @@ static int adis16060_w_probe(struct spi_device *spi) ...@@ -210,7 +210,7 @@ static int adis16060_w_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit adis16060_w_remove(struct spi_device *spi) static int adis16060_w_remove(struct spi_device *spi)
{ {
return 0; return 0;
} }
......
...@@ -177,7 +177,7 @@ static int adis16080_probe(struct spi_device *spi) ...@@ -177,7 +177,7 @@ static int adis16080_probe(struct spi_device *spi)
} }
/* fixme, confirm ordering in this function */ /* fixme, confirm ordering in this function */
static int __devexit adis16080_remove(struct spi_device *spi) static int adis16080_remove(struct spi_device *spi)
{ {
iio_device_unregister(spi_get_drvdata(spi)); iio_device_unregister(spi_get_drvdata(spi));
iio_device_free(spi_get_drvdata(spi)); iio_device_free(spi_get_drvdata(spi));
......
...@@ -154,7 +154,7 @@ static int adis16130_probe(struct spi_device *spi) ...@@ -154,7 +154,7 @@ static int adis16130_probe(struct spi_device *spi)
} }
/* fixme, confirm ordering in this function */ /* fixme, confirm ordering in this function */
static int __devexit adis16130_remove(struct spi_device *spi) static int adis16130_remove(struct spi_device *spi)
{ {
iio_device_unregister(spi_get_drvdata(spi)); iio_device_unregister(spi_get_drvdata(spi));
iio_device_free(spi_get_drvdata(spi)); iio_device_free(spi_get_drvdata(spi));
......
...@@ -384,7 +384,7 @@ static int adis16260_probe(struct spi_device *spi) ...@@ -384,7 +384,7 @@ static int adis16260_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit adis16260_remove(struct spi_device *spi) static int adis16260_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct adis16260_state *st = iio_priv(indio_dev); struct adis16260_state *st = iio_priv(indio_dev);
......
...@@ -409,7 +409,7 @@ static int adxrs450_probe(struct spi_device *spi) ...@@ -409,7 +409,7 @@ static int adxrs450_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit adxrs450_remove(struct spi_device *spi) static int adxrs450_remove(struct spi_device *spi)
{ {
iio_device_unregister(spi_get_drvdata(spi)); iio_device_unregister(spi_get_drvdata(spi));
iio_device_free(spi_get_drvdata(spi)); iio_device_free(spi_get_drvdata(spi));
......
...@@ -170,7 +170,7 @@ static int iio_hwmon_probe(struct platform_device *pdev) ...@@ -170,7 +170,7 @@ static int iio_hwmon_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit iio_hwmon_remove(struct platform_device *pdev) static int iio_hwmon_remove(struct platform_device *pdev)
{ {
struct iio_hwmon_state *st = platform_get_drvdata(pdev); struct iio_hwmon_state *st = platform_get_drvdata(pdev);
......
...@@ -787,7 +787,7 @@ static int ad5933_probe(struct i2c_client *client, ...@@ -787,7 +787,7 @@ static int ad5933_probe(struct i2c_client *client,
return ret; return ret;
} }
static __devexit int ad5933_remove(struct i2c_client *client) static int ad5933_remove(struct i2c_client *client)
{ {
struct iio_dev *indio_dev = i2c_get_clientdata(client); struct iio_dev *indio_dev = i2c_get_clientdata(client);
struct ad5933_state *st = iio_priv(indio_dev); struct ad5933_state *st = iio_priv(indio_dev);
......
...@@ -1273,7 +1273,7 @@ static int adis16400_probe(struct spi_device *spi) ...@@ -1273,7 +1273,7 @@ static int adis16400_probe(struct spi_device *spi)
} }
/* fixme, confirm ordering in this function */ /* fixme, confirm ordering in this function */
static int __devexit adis16400_remove(struct spi_device *spi) static int adis16400_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
......
...@@ -598,7 +598,7 @@ static int isl29018_probe(struct i2c_client *client, ...@@ -598,7 +598,7 @@ static int isl29018_probe(struct i2c_client *client,
return err; return err;
} }
static int __devexit isl29018_remove(struct i2c_client *client) static int isl29018_remove(struct i2c_client *client)
{ {
struct iio_dev *indio_dev = i2c_get_clientdata(client); struct iio_dev *indio_dev = i2c_get_clientdata(client);
......
...@@ -526,7 +526,7 @@ static int isl29028_probe(struct i2c_client *client, ...@@ -526,7 +526,7 @@ static int isl29028_probe(struct i2c_client *client,
return ret; return ret;
} }
static int __devexit isl29028_remove(struct i2c_client *client) static int isl29028_remove(struct i2c_client *client)
{ {
struct iio_dev *indio_dev = i2c_get_clientdata(client); struct iio_dev *indio_dev = i2c_get_clientdata(client);
......
...@@ -805,7 +805,7 @@ static int tsl2563_probe(struct i2c_client *client, ...@@ -805,7 +805,7 @@ static int tsl2563_probe(struct i2c_client *client,
return err; return err;
} }
static int __devexit tsl2563_remove(struct i2c_client *client) static int tsl2563_remove(struct i2c_client *client)
{ {
struct tsl2563_chip *chip = i2c_get_clientdata(client); struct tsl2563_chip *chip = i2c_get_clientdata(client);
struct iio_dev *indio_dev = iio_priv_to_dev(chip); struct iio_dev *indio_dev = iio_priv_to_dev(chip);
......
...@@ -923,7 +923,7 @@ static SIMPLE_DEV_PM_OPS(taos_pm_ops, taos_suspend, taos_resume); ...@@ -923,7 +923,7 @@ static SIMPLE_DEV_PM_OPS(taos_pm_ops, taos_suspend, taos_resume);
#define TAOS_PM_OPS NULL #define TAOS_PM_OPS NULL
#endif #endif
static int __devexit taos_remove(struct i2c_client *client) static int taos_remove(struct i2c_client *client)
{ {
iio_device_unregister(i2c_get_clientdata(client)); iio_device_unregister(i2c_get_clientdata(client));
iio_device_free(i2c_get_clientdata(client)); iio_device_free(i2c_get_clientdata(client));
......
...@@ -2026,7 +2026,7 @@ static int tsl2x7x_resume(struct device *dev) ...@@ -2026,7 +2026,7 @@ static int tsl2x7x_resume(struct device *dev)
return ret; return ret;
} }
static int __devexit tsl2x7x_remove(struct i2c_client *client) static int tsl2x7x_remove(struct i2c_client *client)
{ {
struct iio_dev *indio_dev = i2c_get_clientdata(client); struct iio_dev *indio_dev = i2c_get_clientdata(client);
......
...@@ -475,7 +475,7 @@ static int ak8975_probe(struct i2c_client *client, ...@@ -475,7 +475,7 @@ static int ak8975_probe(struct i2c_client *client,
return err; return err;
} }
static int __devexit ak8975_remove(struct i2c_client *client) static int ak8975_remove(struct i2c_client *client)
{ {
struct iio_dev *indio_dev = i2c_get_clientdata(client); struct iio_dev *indio_dev = i2c_get_clientdata(client);
struct ak8975_data *data = iio_priv(indio_dev); struct ak8975_data *data = iio_priv(indio_dev);
......
...@@ -704,7 +704,7 @@ static int hmc5843_probe(struct i2c_client *client, ...@@ -704,7 +704,7 @@ static int hmc5843_probe(struct i2c_client *client,
return err; return err;
} }
static int __devexit hmc5843_remove(struct i2c_client *client) static int hmc5843_remove(struct i2c_client *client)
{ {
struct iio_dev *indio_dev = i2c_get_clientdata(client); struct iio_dev *indio_dev = i2c_get_clientdata(client);
......
...@@ -555,7 +555,7 @@ static int ade7753_probe(struct spi_device *spi) ...@@ -555,7 +555,7 @@ static int ade7753_probe(struct spi_device *spi)
} }
/* fixme, confirm ordering in this function */ /* fixme, confirm ordering in this function */
static int __devexit ade7753_remove(struct spi_device *spi) static int ade7753_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
......
...@@ -577,7 +577,7 @@ static int ade7754_probe(struct spi_device *spi) ...@@ -577,7 +577,7 @@ static int ade7754_probe(struct spi_device *spi)
} }
/* fixme, confirm ordering in this function */ /* fixme, confirm ordering in this function */
static int __devexit ade7754_remove(struct spi_device *spi) static int ade7754_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
......
...@@ -962,7 +962,7 @@ static int ade7758_probe(struct spi_device *spi) ...@@ -962,7 +962,7 @@ static int ade7758_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ade7758_remove(struct spi_device *spi) static int ade7758_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct ade7758_state *st = iio_priv(indio_dev); struct ade7758_state *st = iio_priv(indio_dev);
......
...@@ -499,7 +499,7 @@ static int ade7759_probe(struct spi_device *spi) ...@@ -499,7 +499,7 @@ static int ade7759_probe(struct spi_device *spi)
} }
/* fixme, confirm ordering in this function */ /* fixme, confirm ordering in this function */
static int __devexit ade7759_remove(struct spi_device *spi) static int ade7759_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
......
...@@ -231,7 +231,7 @@ static int ade7854_i2c_probe(struct i2c_client *client, ...@@ -231,7 +231,7 @@ static int ade7854_i2c_probe(struct i2c_client *client,
return ret; return ret;
} }
static int __devexit ade7854_i2c_remove(struct i2c_client *client) static int ade7854_i2c_remove(struct i2c_client *client)
{ {
return ade7854_remove(i2c_get_clientdata(client)); return ade7854_remove(i2c_get_clientdata(client));
} }
......
...@@ -330,7 +330,7 @@ static int ade7854_spi_probe(struct spi_device *spi) ...@@ -330,7 +330,7 @@ static int ade7854_spi_probe(struct spi_device *spi)
return 0; return 0;
} }
static int __devexit ade7854_spi_remove(struct spi_device *spi) static int ade7854_spi_remove(struct spi_device *spi)
{ {
ade7854_remove(spi_get_drvdata(spi)); ade7854_remove(spi_get_drvdata(spi));
......
...@@ -149,7 +149,7 @@ static int ad2s1200_probe(struct spi_device *spi) ...@@ -149,7 +149,7 @@ static int ad2s1200_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ad2s1200_remove(struct spi_device *spi) static int ad2s1200_remove(struct spi_device *spi)
{ {
iio_device_unregister(spi_get_drvdata(spi)); iio_device_unregister(spi_get_drvdata(spi));
iio_device_free(spi_get_drvdata(spi)); iio_device_free(spi_get_drvdata(spi));
......
...@@ -736,7 +736,7 @@ static int ad2s1210_probe(struct spi_device *spi) ...@@ -736,7 +736,7 @@ static int ad2s1210_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ad2s1210_remove(struct spi_device *spi) static int ad2s1210_remove(struct spi_device *spi)
{ {
struct iio_dev *indio_dev = spi_get_drvdata(spi); struct iio_dev *indio_dev = spi_get_drvdata(spi);
......
...@@ -98,7 +98,7 @@ static int ad2s90_probe(struct spi_device *spi) ...@@ -98,7 +98,7 @@ static int ad2s90_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ad2s90_remove(struct spi_device *spi) static int ad2s90_remove(struct spi_device *spi)
{ {
iio_device_unregister(spi_get_drvdata(spi)); iio_device_unregister(spi_get_drvdata(spi));
iio_device_free(spi_get_drvdata(spi)); iio_device_free(spi_get_drvdata(spi));
......
...@@ -275,7 +275,7 @@ static int iio_bfin_tmr_trigger_probe(struct platform_device *pdev) ...@@ -275,7 +275,7 @@ static int iio_bfin_tmr_trigger_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit iio_bfin_tmr_trigger_remove(struct platform_device *pdev) static int iio_bfin_tmr_trigger_remove(struct platform_device *pdev)
{ {
struct bfin_tmr_state *st = platform_get_drvdata(pdev); struct bfin_tmr_state *st = platform_get_drvdata(pdev);
......
...@@ -130,7 +130,7 @@ static int iio_gpio_trigger_probe(struct platform_device *pdev) ...@@ -130,7 +130,7 @@ static int iio_gpio_trigger_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit iio_gpio_trigger_remove(struct platform_device *pdev) static int iio_gpio_trigger_remove(struct platform_device *pdev)
{ {
struct iio_trigger *trig, *trig2; struct iio_trigger *trig, *trig2;
struct iio_gpio_trigger_info *trig_info; struct iio_gpio_trigger_info *trig_info;
......
...@@ -167,7 +167,7 @@ static int iio_trig_periodic_rtc_probe(struct platform_device *dev) ...@@ -167,7 +167,7 @@ static int iio_trig_periodic_rtc_probe(struct platform_device *dev)
return ret; return ret;
} }
static int __devexit iio_trig_periodic_rtc_remove(struct platform_device *dev) static int iio_trig_periodic_rtc_remove(struct platform_device *dev)
{ {
struct iio_trigger *trig, *trig2; struct iio_trigger *trig, *trig2;
struct iio_prtc_trigger_info *trig_info; struct iio_prtc_trigger_info *trig_info;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment