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

staging: iio: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p 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 447d4f29
......@@ -242,7 +242,7 @@ static struct spi_driver adis16201_driver = {
.owner = THIS_MODULE,
},
.probe = adis16201_probe,
.remove = __devexit_p(adis16201_remove),
.remove = adis16201_remove,
};
module_spi_driver(adis16201_driver);
......
......@@ -209,7 +209,7 @@ static struct spi_driver adis16203_driver = {
.owner = THIS_MODULE,
},
.probe = adis16203_probe,
.remove = __devexit_p(adis16203_remove),
.remove = adis16203_remove,
};
module_spi_driver(adis16203_driver);
......
......@@ -249,7 +249,7 @@ static struct spi_driver adis16204_driver = {
.owner = THIS_MODULE,
},
.probe = adis16204_probe,
.remove = __devexit_p(adis16204_remove),
.remove = adis16204_remove,
};
module_spi_driver(adis16204_driver);
......
......@@ -242,7 +242,7 @@ static struct spi_driver adis16209_driver = {
.owner = THIS_MODULE,
},
.probe = adis16209_probe,
.remove = __devexit_p(adis16209_remove),
.remove = adis16209_remove,
};
module_spi_driver(adis16209_driver);
......
......@@ -503,7 +503,7 @@ static struct spi_driver adis16220_driver = {
.owner = THIS_MODULE,
},
.probe = adis16220_probe,
.remove = __devexit_p(adis16220_remove),
.remove = adis16220_remove,
};
module_spi_driver(adis16220_driver);
......
......@@ -297,7 +297,7 @@ static struct spi_driver adis16240_driver = {
.owner = THIS_MODULE,
},
.probe = adis16240_probe,
.remove = __devexit_p(adis16240_remove),
.remove = adis16240_remove,
};
module_spi_driver(adis16240_driver);
......
......@@ -281,7 +281,7 @@ static struct spi_driver kxsd9_driver = {
.owner = THIS_MODULE,
},
.probe = kxsd9_probe,
.remove = __devexit_p(kxsd9_remove),
.remove = kxsd9_remove,
.id_table = kxsd9_id,
};
module_spi_driver(kxsd9_driver);
......
......@@ -810,7 +810,7 @@ static struct spi_driver lis3l02dq_driver = {
.owner = THIS_MODULE,
},
.probe = lis3l02dq_probe,
.remove = __devexit_p(lis3l02dq_remove),
.remove = lis3l02dq_remove,
};
module_spi_driver(lis3l02dq_driver);
......
......@@ -1265,7 +1265,7 @@ static struct spi_driver sca3000_driver = {
.owner = THIS_MODULE,
},
.probe = sca3000_probe,
.remove = __devexit_p(sca3000_remove),
.remove = sca3000_remove,
.id_table = sca3000_id,
};
module_spi_driver(sca3000_driver);
......
......@@ -716,7 +716,7 @@ static struct spi_driver ad7192_driver = {
.owner = THIS_MODULE,
},
.probe = ad7192_probe,
.remove = __devexit_p(ad7192_remove),
.remove = ad7192_remove,
.id_table = ad7192_id,
};
module_spi_driver(ad7192_driver);
......
......@@ -981,7 +981,7 @@ static struct spi_driver ad7280_driver = {
.owner = THIS_MODULE,
},
.probe = ad7280_probe,
.remove = __devexit_p(ad7280_remove),
.remove = ad7280_remove,
.id_table = ad7280_id,
};
module_spi_driver(ad7280_driver);
......
......@@ -706,7 +706,7 @@ static struct i2c_driver ad7291_driver = {
.name = KBUILD_MODNAME,
},
.probe = ad7291_probe,
.remove = __devexit_p(ad7291_remove),
.remove = ad7291_remove,
.id_table = ad7291_id,
};
module_i2c_driver(ad7291_driver);
......
......@@ -164,7 +164,7 @@ MODULE_DEVICE_TABLE(platform, ad7606_driver_ids);
static struct platform_driver ad7606_driver = {
.probe = ad7606_par_probe,
.remove = __devexit_p(ad7606_par_remove),
.remove = ad7606_par_remove,
.id_table = ad7606_driver_ids,
.driver = {
.name = "ad7606",
......
......@@ -106,7 +106,7 @@ static struct spi_driver ad7606_driver = {
.pm = AD7606_SPI_PM_OPS,
},
.probe = ad7606_spi_probe,
.remove = __devexit_p(ad7606_spi_remove),
.remove = ad7606_spi_remove,
.id_table = ad7606_id,
};
module_spi_driver(ad7606_driver);
......
......@@ -283,7 +283,7 @@ static struct spi_driver ad7780_driver = {
.owner = THIS_MODULE,
},
.probe = ad7780_probe,
.remove = __devexit_p(ad7780_remove),
.remove = ad7780_remove,
.id_table = ad7780_id,
};
module_spi_driver(ad7780_driver);
......
......@@ -556,7 +556,7 @@ static struct spi_driver ad7793_driver = {
.owner = THIS_MODULE,
},
.probe = ad7793_probe,
.remove = __devexit_p(ad7793_remove),
.remove = ad7793_remove,
.id_table = ad7793_id,
};
module_spi_driver(ad7793_driver);
......
......@@ -463,7 +463,7 @@ static struct spi_driver ad7816_driver = {
.owner = THIS_MODULE,
},
.probe = ad7816_probe,
.remove = __devexit_p(ad7816_remove),
.remove = ad7816_remove,
.id_table = ad7816_id,
};
module_spi_driver(ad7816_driver);
......
......@@ -970,7 +970,7 @@ static struct i2c_driver ad799x_driver = {
.name = "ad799x",
},
.probe = ad799x_probe,
.remove = __devexit_p(ad799x_remove),
.remove = ad799x_remove,
.id_table = ad799x_id,
};
module_i2c_driver(ad799x_driver);
......
......@@ -900,7 +900,7 @@ static struct i2c_driver adt7410_driver = {
.name = "adt7410",
},
.probe = adt7410_i2c_probe,
.remove = __devexit_p(adt7410_i2c_remove),
.remove = adt7410_i2c_remove,
.id_table = adt7410_id,
};
......@@ -1053,7 +1053,7 @@ static struct spi_driver adt7310_driver = {
.owner = THIS_MODULE,
},
.probe = adt7310_spi_probe,
.remove = __devexit_p(adt7310_spi_remove),
.remove = adt7310_spi_remove,
.id_table = adt7310_id,
};
......
......@@ -233,7 +233,7 @@ MODULE_DEVICE_TABLE(of, lpc32xx_adc_match);
static struct platform_driver lpc32xx_adc_driver = {
.probe = lpc32xx_adc_probe,
.remove = __devexit_p(lpc32xx_adc_remove),
.remove = lpc32xx_adc_remove,
.driver = {
.name = MOD_NAME,
.owner = THIS_MODULE,
......
......@@ -579,7 +579,7 @@ static struct platform_driver mxs_lradc_driver = {
.of_match_table = mxs_lradc_dt_ids,
},
.probe = mxs_lradc_probe,
.remove = __devexit_p(mxs_lradc_remove),
.remove = mxs_lradc_remove,
};
module_platform_driver(mxs_lradc_driver);
......
......@@ -424,7 +424,7 @@ MODULE_DEVICE_TABLE(of, spear_adc_dt_ids);
static struct platform_driver spear_adc_driver = {
.probe = spear_adc_probe,
.remove = __devexit_p(spear_adc_remove),
.remove = spear_adc_remove,
.driver = {
.name = MOD_NAME,
.owner = THIS_MODULE,
......
......@@ -132,7 +132,7 @@ static struct i2c_driver adt7316_driver = {
.owner = THIS_MODULE,
},
.probe = adt7316_i2c_probe,
.remove = __devexit_p(adt7316_i2c_remove),
.remove = adt7316_i2c_remove,
.id_table = adt7316_i2c_id,
};
module_i2c_driver(adt7316_driver);
......
......@@ -140,7 +140,7 @@ static struct spi_driver adt7316_driver = {
.owner = THIS_MODULE,
},
.probe = adt7316_spi_probe,
.remove = __devexit_p(adt7316_spi_remove),
.remove = adt7316_spi_remove,
.id_table = adt7316_spi_id,
};
module_spi_driver(adt7316_driver);
......
......@@ -658,7 +658,7 @@ static struct i2c_driver ad7150_driver = {
.name = "ad7150",
},
.probe = ad7150_probe,
.remove = __devexit_p(ad7150_remove),
.remove = ad7150_remove,
.id_table = ad7150_id,
};
module_i2c_driver(ad7150_driver);
......
......@@ -541,7 +541,7 @@ static struct i2c_driver ad7152_driver = {
.name = KBUILD_MODNAME,
},
.probe = ad7152_probe,
.remove = __devexit_p(ad7152_remove),
.remove = ad7152_remove,
.id_table = ad7152_id,
};
module_i2c_driver(ad7152_driver);
......
......@@ -792,7 +792,7 @@ static struct i2c_driver ad7746_driver = {
.name = KBUILD_MODNAME,
},
.probe = ad7746_probe,
.remove = __devexit_p(ad7746_remove),
.remove = ad7746_remove,
.id_table = ad7746_id,
};
module_i2c_driver(ad7746_driver);
......
......@@ -141,7 +141,7 @@ static struct spi_driver ad5930_driver = {
.owner = THIS_MODULE,
},
.probe = ad5930_probe,
.remove = __devexit_p(ad5930_remove),
.remove = ad5930_remove,
};
module_spi_driver(ad5930_driver);
......
......@@ -352,7 +352,7 @@ static struct spi_driver ad9832_driver = {
.owner = THIS_MODULE,
},
.probe = ad9832_probe,
.remove = __devexit_p(ad9832_remove),
.remove = ad9832_remove,
.id_table = ad9832_id,
};
module_spi_driver(ad9832_driver);
......
......@@ -454,7 +454,7 @@ static struct spi_driver ad9834_driver = {
.owner = THIS_MODULE,
},
.probe = ad9834_probe,
.remove = __devexit_p(ad9834_remove),
.remove = ad9834_remove,
.id_table = ad9834_id,
};
module_spi_driver(ad9834_driver);
......
......@@ -127,7 +127,7 @@ static struct spi_driver ad9850_driver = {
.owner = THIS_MODULE,
},
.probe = ad9850_probe,
.remove = __devexit_p(ad9850_remove),
.remove = ad9850_remove,
};
module_spi_driver(ad9850_driver);
......
......@@ -278,7 +278,7 @@ static struct spi_driver ad9852_driver = {
.owner = THIS_MODULE,
},
.probe = ad9852_probe,
.remove = __devexit_p(ad9852_remove),
.remove = ad9852_remove,
};
module_spi_driver(ad9852_driver);
......
......@@ -411,7 +411,7 @@ static struct spi_driver ad9910_driver = {
.owner = THIS_MODULE,
},
.probe = ad9910_probe,
.remove = __devexit_p(ad9910_remove),
.remove = ad9910_remove,
};
module_spi_driver(ad9910_driver);
......
......@@ -222,7 +222,7 @@ static struct spi_driver ad9951_driver = {
.owner = THIS_MODULE,
},
.probe = ad9951_probe,
.remove = __devexit_p(ad9951_remove),
.remove = ad9951_remove,
};
module_spi_driver(ad9951_driver);
......
......@@ -221,7 +221,7 @@ static struct spi_driver adis16060_r_driver = {
.owner = THIS_MODULE,
},
.probe = adis16060_r_probe,
.remove = __devexit_p(adis16060_r_remove),
.remove = adis16060_r_remove,
};
static struct spi_driver adis16060_w_driver = {
......@@ -230,7 +230,7 @@ static struct spi_driver adis16060_w_driver = {
.owner = THIS_MODULE,
},
.probe = adis16060_w_probe,
.remove = __devexit_p(adis16060_w_remove),
.remove = adis16060_w_remove,
};
static __init int adis16060_init(void)
......
......@@ -191,7 +191,7 @@ static struct spi_driver adis16080_driver = {
.owner = THIS_MODULE,
},
.probe = adis16080_probe,
.remove = __devexit_p(adis16080_remove),
.remove = adis16080_remove,
};
module_spi_driver(adis16080_driver);
......
......@@ -168,7 +168,7 @@ static struct spi_driver adis16130_driver = {
.owner = THIS_MODULE,
},
.probe = adis16130_probe,
.remove = __devexit_p(adis16130_remove),
.remove = adis16130_remove,
};
module_spi_driver(adis16130_driver);
......
......@@ -417,7 +417,7 @@ static struct spi_driver adis16260_driver = {
.owner = THIS_MODULE,
},
.probe = adis16260_probe,
.remove = __devexit_p(adis16260_remove),
.remove = adis16260_remove,
.id_table = adis16260_id,
};
module_spi_driver(adis16260_driver);
......
......@@ -430,7 +430,7 @@ static struct spi_driver adxrs450_driver = {
.owner = THIS_MODULE,
},
.probe = adxrs450_probe,
.remove = __devexit_p(adxrs450_remove),
.remove = adxrs450_remove,
.id_table = adxrs450_id,
};
module_spi_driver(adxrs450_driver);
......
......@@ -189,7 +189,7 @@ static struct platform_driver __refdata iio_hwmon_driver = {
.owner = THIS_MODULE,
},
.probe = iio_hwmon_probe,
.remove = __devexit_p(iio_hwmon_remove),
.remove = iio_hwmon_remove,
};
module_platform_driver(iio_hwmon_driver);
......
......@@ -817,7 +817,7 @@ static struct i2c_driver ad5933_driver = {
.name = "ad5933",
},
.probe = ad5933_probe,
.remove = __devexit_p(ad5933_remove),
.remove = ad5933_remove,
.id_table = ad5933_id,
};
module_i2c_driver(ad5933_driver);
......
......@@ -1311,7 +1311,7 @@ static struct spi_driver adis16400_driver = {
},
.id_table = adis16400_id,
.probe = adis16400_probe,
.remove = __devexit_p(adis16400_remove),
.remove = adis16400_remove,
};
module_spi_driver(adis16400_driver);
......
......@@ -669,7 +669,7 @@ static struct i2c_driver isl29018_driver = {
.of_match_table = isl29018_of_match,
},
.probe = isl29018_probe,
.remove = __devexit_p(isl29018_remove),
.remove = isl29018_remove,
.id_table = isl29018_id,
};
module_i2c_driver(isl29018_driver);
......
......@@ -555,7 +555,7 @@ static struct i2c_driver isl29028_driver = {
.of_match_table = isl29028_of_match,
},
.probe = isl29028_probe,
.remove = __devexit_p(isl29028_remove),
.remove = isl29028_remove,
.id_table = isl29028_id,
};
......
......@@ -889,7 +889,7 @@ static struct i2c_driver tsl2563_i2c_driver = {
.pm = TSL2563_PM_OPS,
},
.probe = tsl2563_probe,
.remove = __devexit_p(tsl2563_remove),
.remove = tsl2563_remove,
.id_table = tsl2563_id,
};
module_i2c_driver(tsl2563_i2c_driver);
......
......@@ -947,7 +947,7 @@ static struct i2c_driver taos_driver = {
},
.id_table = taos_idtable,
.probe = taos_probe,
.remove = __devexit_p(taos_remove),
.remove = taos_remove,
};
module_i2c_driver(taos_driver);
......
......@@ -2070,7 +2070,7 @@ static struct i2c_driver tsl2x7x_driver = {
},
.id_table = tsl2x7x_idtable,
.probe = tsl2x7x_probe,
.remove = __devexit_p(tsl2x7x_remove),
.remove = tsl2x7x_remove,
};
module_i2c_driver(tsl2x7x_driver);
......
......@@ -510,7 +510,7 @@ static struct i2c_driver ak8975_driver = {
.of_match_table = ak8975_of_match,
},
.probe = ak8975_probe,
.remove = __devexit_p(ak8975_remove),
.remove = ak8975_remove,
.id_table = ak8975_id,
};
module_i2c_driver(ak8975_driver);
......
......@@ -755,7 +755,7 @@ static struct i2c_driver hmc5843_driver = {
},
.id_table = hmc5843_id,
.probe = hmc5843_probe,
.remove = __devexit_p(hmc5843_remove),
.remove = hmc5843_remove,
.detect = hmc5843_detect,
.address_list = normal_i2c,
};
......
......@@ -572,7 +572,7 @@ static struct spi_driver ade7753_driver = {
.owner = THIS_MODULE,
},
.probe = ade7753_probe,
.remove = __devexit_p(ade7753_remove),
.remove = ade7753_remove,
};
module_spi_driver(ade7753_driver);
......
......@@ -594,7 +594,7 @@ static struct spi_driver ade7754_driver = {
.owner = THIS_MODULE,
},
.probe = ade7754_probe,
.remove = __devexit_p(ade7754_remove),
.remove = ade7754_remove,
};
module_spi_driver(ade7754_driver);
......
......@@ -992,7 +992,7 @@ static struct spi_driver ade7758_driver = {
.owner = THIS_MODULE,
},
.probe = ade7758_probe,
.remove = __devexit_p(ade7758_remove),
.remove = ade7758_remove,
.id_table = ade7758_id,
};
module_spi_driver(ade7758_driver);
......
......@@ -516,7 +516,7 @@ static struct spi_driver ade7759_driver = {
.owner = THIS_MODULE,
},
.probe = ade7759_probe,
.remove = __devexit_p(ade7759_remove),
.remove = ade7759_remove,
};
module_spi_driver(ade7759_driver);
......
......@@ -250,7 +250,7 @@ static struct i2c_driver ade7854_i2c_driver = {
.name = "ade7854",
},
.probe = ade7854_i2c_probe,
.remove = __devexit_p(ade7854_i2c_remove),
.remove = ade7854_i2c_remove,
.id_table = ade7854_id,
};
module_i2c_driver(ade7854_i2c_driver);
......
......@@ -351,7 +351,7 @@ static struct spi_driver ade7854_driver = {
.owner = THIS_MODULE,
},
.probe = ade7854_spi_probe,
.remove = __devexit_p(ade7854_spi_remove),
.remove = ade7854_spi_remove,
.id_table = ade7854_id,
};
module_spi_driver(ade7854_driver);
......
......@@ -170,7 +170,7 @@ static struct spi_driver ad2s1200_driver = {
.owner = THIS_MODULE,
},
.probe = ad2s1200_probe,
.remove = __devexit_p(ad2s1200_remove),
.remove = ad2s1200_remove,
.id_table = ad2s1200_id,
};
module_spi_driver(ad2s1200_driver);
......
......@@ -759,7 +759,7 @@ static struct spi_driver ad2s1210_driver = {
.owner = THIS_MODULE,
},
.probe = ad2s1210_probe,
.remove = __devexit_p(ad2s1210_remove),
.remove = ad2s1210_remove,
.id_table = ad2s1210_id,
};
module_spi_driver(ad2s1210_driver);
......
......@@ -118,7 +118,7 @@ static struct spi_driver ad2s90_driver = {
.owner = THIS_MODULE,
},
.probe = ad2s90_probe,
.remove = __devexit_p(ad2s90_remove),
.remove = ad2s90_remove,
.id_table = ad2s90_id,
};
module_spi_driver(ad2s90_driver);
......
......@@ -296,7 +296,7 @@ static struct platform_driver iio_bfin_tmr_trigger_driver = {
.owner = THIS_MODULE,
},
.probe = iio_bfin_tmr_trigger_probe,
.remove = __devexit_p(iio_bfin_tmr_trigger_remove),
.remove = iio_bfin_tmr_trigger_remove,
};
module_platform_driver(iio_bfin_tmr_trigger_driver);
......
......@@ -153,7 +153,7 @@ static int iio_gpio_trigger_remove(struct platform_device *pdev)
static struct platform_driver iio_gpio_trigger_driver = {
.probe = iio_gpio_trigger_probe,
.remove = __devexit_p(iio_gpio_trigger_remove),
.remove = iio_gpio_trigger_remove,
.driver = {
.name = "iio_gpio_trigger",
.owner = THIS_MODULE,
......
......@@ -188,7 +188,7 @@ static int iio_trig_periodic_rtc_remove(struct platform_device *dev)
static struct platform_driver iio_trig_periodic_rtc_driver = {
.probe = iio_trig_periodic_rtc_probe,
.remove = __devexit_p(iio_trig_periodic_rtc_remove),
.remove = iio_trig_periodic_rtc_remove,
.driver = {
.name = "iio_prtc_trigger",
.owner = THIS_MODULE,
......
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