Skip to content

Commit

Permalink
staging: iio: remove use of __devinit
Browse files Browse the repository at this point in the history
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent 1a6a8a8 commit 4ae1c61
Show file tree
Hide file tree
Showing 63 changed files with 68 additions and 68 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/iio/accel/adis16201_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ static const struct adis_data adis16201_data = {
BIT(ADIS16201_DIAG_STAT_POWER_LOW_BIT),
};

static int __devinit adis16201_probe(struct spi_device *spi)
static int adis16201_probe(struct spi_device *spi)
{
int ret;
struct adis *st;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/accel/adis16203_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ static const struct adis_data adis16203_data = {
BIT(ADIS16203_DIAG_STAT_POWER_LOW_BIT),
};

static int __devinit adis16203_probe(struct spi_device *spi)
static int adis16203_probe(struct spi_device *spi)
{
int ret;
struct iio_dev *indio_dev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/accel/adis16204_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ static const struct adis_data adis16204_data = {
BIT(ADIS16204_DIAG_STAT_POWER_LOW_BIT),
};

static int __devinit adis16204_probe(struct spi_device *spi)
static int adis16204_probe(struct spi_device *spi)
{
int ret;
struct adis *st;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/accel/adis16209_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static const struct adis_data adis16209_data = {
};


static int __devinit adis16209_probe(struct spi_device *spi)
static int adis16209_probe(struct spi_device *spi)
{
int ret;
struct adis *st;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/accel/adis16220_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ static const struct adis_data adis16220_data = {
BIT(ADIS16220_DIAG_STAT_POWER_LOW_BIT),
};

static int __devinit adis16220_probe(struct spi_device *spi)
static int adis16220_probe(struct spi_device *spi)
{
int ret;
struct adis16220_state *st;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/accel/adis16240_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ static const struct adis_data adis16240_data = {
BIT(ADIS16240_DIAG_STAT_POWER_LOW_BIT),
};

static int __devinit adis16240_probe(struct spi_device *spi)
static int adis16240_probe(struct spi_device *spi)
{
int ret;
struct adis *st;
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/iio/accel/kxsd9.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ static const struct attribute_group kxsd9_attribute_group = {
.attrs = kxsd9_attributes,
};

static int __devinit kxsd9_power_up(struct kxsd9_state *st)
static int kxsd9_power_up(struct kxsd9_state *st)
{
int ret;

Expand All @@ -222,7 +222,7 @@ static const struct iio_info kxsd9_info = {
.driver_module = THIS_MODULE,
};

static int __devinit kxsd9_probe(struct spi_device *spi)
static int kxsd9_probe(struct spi_device *spi)
{
struct iio_dev *indio_dev;
struct kxsd9_state *st;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/accel/lis3l02dq_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ static const struct iio_info lis3l02dq_info = {
.attrs = &lis3l02dq_attribute_group,
};

static int __devinit lis3l02dq_probe(struct spi_device *spi)
static int lis3l02dq_probe(struct spi_device *spi)
{
int ret;
struct lis3l02dq_state *st;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/accel/sca3000_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ static const struct iio_info sca3000_info_with_temp = {
.driver_module = THIS_MODULE,
};

static int __devinit sca3000_probe(struct spi_device *spi)
static int sca3000_probe(struct spi_device *spi)
{
int ret;
struct sca3000_state *st;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/adc/ad7192.c
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ static const struct iio_chan_spec ad7192_channels[] = {
IIO_CHAN_SOFT_TIMESTAMP(8),
};

static int __devinit ad7192_probe(struct spi_device *spi)
static int ad7192_probe(struct spi_device *spi)
{
const struct ad7192_platform_data *pdata = spi->dev.platform_data;
struct ad7192_state *st;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/adc/ad7280a.c
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ static const struct ad7280_platform_data ad7793_default_pdata = {
.thermistor_term_en = true,
};

static int __devinit ad7280_probe(struct spi_device *spi)
static int ad7280_probe(struct spi_device *spi)
{
const struct ad7280_platform_data *pdata = spi->dev.platform_data;
struct ad7280_state *st;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/adc/ad7291.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ static const struct iio_info ad7291_info = {
.event_attrs = &ad7291_event_attribute_group,
};

static int __devinit ad7291_probe(struct i2c_client *client,
static int ad7291_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
struct ad7291_chip_info *chip;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/adc/ad7606_par.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static const struct ad7606_bus_ops ad7606_par8_bops = {
.read_block = ad7606_par8_read_block,
};

static int __devinit ad7606_par_probe(struct platform_device *pdev)
static int ad7606_par_probe(struct platform_device *pdev)
{
struct resource *res;
struct iio_dev *indio_dev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/adc/ad7606_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ static const struct ad7606_bus_ops ad7606_spi_bops = {
.read_block = ad7606_spi_read_block,
};

static int __devinit ad7606_spi_probe(struct spi_device *spi)
static int ad7606_spi_probe(struct spi_device *spi)
{
struct iio_dev *indio_dev;

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/adc/ad7780.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ static const struct iio_info ad7780_info = {
.driver_module = THIS_MODULE,
};

static int __devinit ad7780_probe(struct spi_device *spi)
static int ad7780_probe(struct spi_device *spi)
{
struct ad7780_platform_data *pdata = spi->dev.platform_data;
struct ad7780_state *st;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/adc/ad7793.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ static const struct ad7793_chip_info ad7793_chip_info_tbl[] = {
},
};

static int __devinit ad7793_probe(struct spi_device *spi)
static int ad7793_probe(struct spi_device *spi)
{
const struct ad7793_platform_data *pdata = spi->dev.platform_data;
struct ad7793_state *st;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/adc/ad7816.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ static const struct iio_info ad7816_info = {
* device probe and remove
*/

static int __devinit ad7816_probe(struct spi_device *spi_dev)
static int ad7816_probe(struct spi_device *spi_dev)
{
struct ad7816_chip_info *chip;
struct iio_dev *indio_dev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/adc/ad799x_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ static const struct ad799x_chip_info ad799x_chip_info_tbl[] = {
},
};

static int __devinit ad799x_probe(struct i2c_client *client,
static int ad799x_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
int ret;
Expand Down
6 changes: 3 additions & 3 deletions drivers/staging/iio/adc/adt7410.c
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ static const struct iio_info adt7410_info = {
* device probe and remove
*/

static int __devinit adt7410_probe(struct device *dev, int irq,
static int adt7410_probe(struct device *dev, int irq,
const char *name, const struct adt7410_ops *ops)
{
unsigned long *adt7410_platform_data = dev->platform_data;
Expand Down Expand Up @@ -876,7 +876,7 @@ static const struct adt7410_ops adt7410_i2c_ops = {
.write_byte = adt7410_i2c_write_byte,
};

static int __devinit adt7410_i2c_probe(struct i2c_client *client,
static int adt7410_i2c_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
return adt7410_probe(&client->dev, client->irq, id->name,
Expand Down Expand Up @@ -1030,7 +1030,7 @@ static const struct adt7410_ops adt7310_spi_ops = {
.write_byte = adt7310_spi_write_byte,
};

static int __devinit adt7310_spi_probe(struct spi_device *spi)
static int adt7310_spi_probe(struct spi_device *spi)
{
return adt7410_probe(&spi->dev, spi->irq,
spi_get_device_id(spi)->name, &adt7310_spi_ops);
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/adc/lpc32xx_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static irqreturn_t lpc32xx_adc_isr(int irq, void *dev_id)
return IRQ_HANDLED;
}

static int __devinit lpc32xx_adc_probe(struct platform_device *pdev)
static int lpc32xx_adc_probe(struct platform_device *pdev)
{
struct lpc32xx_adc_info *info = NULL;
struct resource *res;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/adc/mxs-lradc.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ static void mxs_lradc_hw_stop(struct mxs_lradc *lradc)
writel(0, lradc->base + LRADC_DELAY(i));
}

static int __devinit mxs_lradc_probe(struct platform_device *pdev)
static int mxs_lradc_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct mxs_lradc *lradc;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/adc/spear_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ static const struct iio_info spear_adc_iio_info = {
.driver_module = THIS_MODULE,
};

static int __devinit spear_adc_probe(struct platform_device *pdev)
static int spear_adc_probe(struct platform_device *pdev)
{
struct device_node *np = pdev->dev.of_node;
struct device *dev = &pdev->dev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/addac/adt7316-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static int adt7316_i2c_multi_write(void *client, u8 reg, u8 count, u8 *data)
* device probe and remove
*/

static int __devinit adt7316_i2c_probe(struct i2c_client *client,
static int adt7316_i2c_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
struct adt7316_bus bus = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/addac/adt7316-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static int adt7316_spi_write(void *client, u8 reg, u8 val)
* device probe and remove
*/

static int __devinit adt7316_spi_probe(struct spi_device *spi_dev)
static int adt7316_spi_probe(struct spi_device *spi_dev)
{
struct adt7316_bus bus = {
.client = spi_dev,
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/addac/adt7316.c
Original file line number Diff line number Diff line change
Expand Up @@ -2125,7 +2125,7 @@ static const struct iio_info adt7516_info = {
/*
* device probe and remove
*/
int __devinit adt7316_probe(struct device *dev, struct adt7316_bus *bus,
int adt7316_probe(struct device *dev, struct adt7316_bus *bus,
const char *name)
{
struct adt7316_chip_info *chip;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/cdc/ad7150.c
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ static const struct iio_info ad7150_info = {
* device probe and remove
*/

static int __devinit ad7150_probe(struct i2c_client *client,
static int ad7150_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
int ret;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/cdc/ad7152.c
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ static const struct iio_chan_spec ad7152_channels[] = {
* device probe and remove
*/

static int __devinit ad7152_probe(struct i2c_client *client,
static int ad7152_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
int ret = 0;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/cdc/ad7746.c
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ static const struct iio_info ad7746_info = {
* device probe and remove
*/

static int __devinit ad7746_probe(struct i2c_client *client,
static int ad7746_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
struct ad7746_platform_data *pdata = client->dev.platform_data;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/frequency/ad5930.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static const struct iio_info ad5930_info = {
.driver_module = THIS_MODULE,
};

static int __devinit ad5930_probe(struct spi_device *spi)
static int ad5930_probe(struct spi_device *spi)
{
struct ad5930_state *st;
struct iio_dev *idev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/frequency/ad9832.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static const struct iio_info ad9832_info = {
.driver_module = THIS_MODULE,
};

static int __devinit ad9832_probe(struct spi_device *spi)
static int ad9832_probe(struct spi_device *spi)
{
struct ad9832_platform_data *pdata = spi->dev.platform_data;
struct iio_dev *indio_dev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/frequency/ad9834.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ static const struct iio_info ad9833_info = {
.driver_module = THIS_MODULE,
};

static int __devinit ad9834_probe(struct spi_device *spi)
static int ad9834_probe(struct spi_device *spi)
{
struct ad9834_platform_data *pdata = spi->dev.platform_data;
struct ad9834_state *st;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/frequency/ad9850.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static const struct iio_info ad9850_info = {
.driver_module = THIS_MODULE,
};

static int __devinit ad9850_probe(struct spi_device *spi)
static int ad9850_probe(struct spi_device *spi)
{
struct ad9850_state *st;
struct iio_dev *idev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/frequency/ad9852.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ static const struct iio_info ad9852_info = {
.driver_module = THIS_MODULE,
};

static int __devinit ad9852_probe(struct spi_device *spi)
static int ad9852_probe(struct spi_device *spi)
{
struct ad9852_state *st;
struct iio_dev *idev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/frequency/ad9910.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ static const struct iio_info ad9910_info = {
.driver_module = THIS_MODULE,
};

static int __devinit ad9910_probe(struct spi_device *spi)
static int ad9910_probe(struct spi_device *spi)
{
struct ad9910_state *st;
struct iio_dev *idev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/frequency/ad9951.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ static const struct iio_info ad9951_info = {
.driver_module = THIS_MODULE,
};

static int __devinit ad9951_probe(struct spi_device *spi)
static int ad9951_probe(struct spi_device *spi)
{
struct ad9951_state *st;
struct iio_dev *idev;
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/iio/gyro/adis16060_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ static const struct iio_chan_spec adis16060_channels[] = {
}
};

static int __devinit adis16060_r_probe(struct spi_device *spi)
static int adis16060_r_probe(struct spi_device *spi)
{
int ret;
struct adis16060_state *st;
Expand Down Expand Up @@ -192,7 +192,7 @@ static int __devexit adis16060_r_remove(struct spi_device *spi)
return 0;
}

static int __devinit adis16060_w_probe(struct spi_device *spi)
static int adis16060_w_probe(struct spi_device *spi)
{
int ret;
struct iio_dev *indio_dev = adis16060_iio_dev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/gyro/adis16080_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ static const struct iio_info adis16080_info = {
.driver_module = THIS_MODULE,
};

static int __devinit adis16080_probe(struct spi_device *spi)
static int adis16080_probe(struct spi_device *spi)
{
int ret;
struct adis16080_state *st;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/gyro/adis16130_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static const struct iio_info adis16130_info = {
.driver_module = THIS_MODULE,
};

static int __devinit adis16130_probe(struct spi_device *spi)
static int adis16130_probe(struct spi_device *spi)
{
int ret;
struct adis16130_state *st;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/gyro/adis16260_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ static const struct adis_data adis16260_data = {
BIT(ADIS16260_DIAG_STAT_POWER_LOW_BIT),
};

static int __devinit adis16260_probe(struct spi_device *spi)
static int adis16260_probe(struct spi_device *spi)
{
int ret;
struct adis16260_platform_data *pd = spi->dev.platform_data;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/gyro/adxrs450_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ static const struct iio_info adxrs450_info = {
.write_raw = &adxrs450_write_raw,
};

static int __devinit adxrs450_probe(struct spi_device *spi)
static int adxrs450_probe(struct spi_device *spi)
{
int ret;
struct adxrs450_state *st;
Expand Down
Loading

0 comments on commit 4ae1c61

Please sign in to comment.