Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348192
b: refs/heads/master
c: fc52692
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jan 3, 2013
1 parent ed01703 commit d0fc68b
Show file tree
Hide file tree
Showing 35 changed files with 139 additions and 140 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe31edc8a3b6081f3580c9ae4c5c61103f3412a5
refs/heads/master: fc52692c49969ec72595766929b9f54ac402da34
4 changes: 2 additions & 2 deletions trunk/drivers/iio/accel/hid-sensor-accel-3d.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ static int accel_3d_parse_report(struct platform_device *pdev,
}

/* Function to initialize the processing for usage id */
static int __devinit hid_accel_3d_probe(struct platform_device *pdev)
static int hid_accel_3d_probe(struct platform_device *pdev)
{
int ret = 0;
static const char *name = "accel_3d";
Expand Down Expand Up @@ -375,7 +375,7 @@ static int __devinit hid_accel_3d_probe(struct platform_device *pdev)
}

/* Function to deinitialize the processing for usage id */
static int __devinit hid_accel_3d_remove(struct platform_device *pdev)
static int hid_accel_3d_remove(struct platform_device *pdev)
{
struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data;
struct iio_dev *indio_dev = platform_get_drvdata(pdev);
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/iio/adc/ad7266.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ static const struct ad7266_chan_info ad7266_chan_infos[] = {
},
};

static void __devinit ad7266_init_channels(struct iio_dev *indio_dev)
static void ad7266_init_channels(struct iio_dev *indio_dev)
{
struct ad7266_state *st = iio_priv(indio_dev);
bool is_differential, is_signed;
Expand All @@ -391,7 +391,7 @@ static const char * const ad7266_gpio_labels[] = {
"AD0", "AD1", "AD2",
};

static int __devinit ad7266_probe(struct spi_device *spi)
static int ad7266_probe(struct spi_device *spi)
{
struct ad7266_platform_data *pdata = spi->dev.platform_data;
struct iio_dev *indio_dev;
Expand Down Expand Up @@ -494,7 +494,7 @@ static int __devinit ad7266_probe(struct spi_device *spi)
return ret;
}

static int __devexit ad7266_remove(struct spi_device *spi)
static int ad7266_remove(struct spi_device *spi)
{
struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct ad7266_state *st = iio_priv(indio_dev);
Expand Down Expand Up @@ -525,7 +525,7 @@ static struct spi_driver ad7266_driver = {
.owner = THIS_MODULE,
},
.probe = ad7266_probe,
.remove = __devexit_p(ad7266_remove),
.remove = ad7266_remove,
.id_table = ad7266_id,
};
module_spi_driver(ad7266_driver);
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/iio/adc/ad7298.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ static const struct iio_info ad7298_info = {
.driver_module = THIS_MODULE,
};

static int __devinit ad7298_probe(struct spi_device *spi)
static int ad7298_probe(struct spi_device *spi)
{
struct ad7298_platform_data *pdata = spi->dev.platform_data;
struct ad7298_state *st;
Expand Down Expand Up @@ -370,7 +370,7 @@ static int __devinit ad7298_probe(struct spi_device *spi)
return ret;
}

static int __devexit ad7298_remove(struct spi_device *spi)
static int ad7298_remove(struct spi_device *spi)
{
struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct ad7298_state *st = iio_priv(indio_dev);
Expand Down Expand Up @@ -398,7 +398,7 @@ static struct spi_driver ad7298_driver = {
.owner = THIS_MODULE,
},
.probe = ad7298_probe,
.remove = __devexit_p(ad7298_remove),
.remove = ad7298_remove,
.id_table = ad7298_id,
};
module_spi_driver(ad7298_driver);
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/iio/adc/ad7476.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ static const struct iio_info ad7476_info = {
.read_raw = &ad7476_read_raw,
};

static int __devinit ad7476_probe(struct spi_device *spi)
static int ad7476_probe(struct spi_device *spi)
{
struct ad7476_state *st;
struct iio_dev *indio_dev;
Expand Down Expand Up @@ -277,7 +277,7 @@ static int __devinit ad7476_probe(struct spi_device *spi)
return ret;
}

static int __devexit ad7476_remove(struct spi_device *spi)
static int ad7476_remove(struct spi_device *spi)
{
struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct ad7476_state *st = iio_priv(indio_dev);
Expand Down Expand Up @@ -322,7 +322,7 @@ static struct spi_driver ad7476_driver = {
.owner = THIS_MODULE,
},
.probe = ad7476_probe,
.remove = __devexit_p(ad7476_remove),
.remove = ad7476_remove,
.id_table = ad7476_id,
};
module_spi_driver(ad7476_driver);
Expand Down
10 changes: 5 additions & 5 deletions trunk/drivers/iio/adc/ad7791.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@ static const struct iio_info ad7791_no_filter_info = {
.driver_module = THIS_MODULE,
};

static int __devinit ad7791_setup(struct ad7791_state *st,
struct ad7791_platform_data *pdata)
static int ad7791_setup(struct ad7791_state *st,
struct ad7791_platform_data *pdata)
{
/* Set to poweron-reset default values */
st->mode = AD7791_MODE_BUFFER;
Expand All @@ -349,7 +349,7 @@ static int __devinit ad7791_setup(struct ad7791_state *st,
st->mode);
}

static int __devinit ad7791_probe(struct spi_device *spi)
static int ad7791_probe(struct spi_device *spi)
{
struct ad7791_platform_data *pdata = spi->dev.platform_data;
struct iio_dev *indio_dev;
Expand Down Expand Up @@ -418,7 +418,7 @@ static int __devinit ad7791_probe(struct spi_device *spi)
return ret;
}

static int __devexit ad7791_remove(struct spi_device *spi)
static int ad7791_remove(struct spi_device *spi)
{
struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct ad7791_state *st = iio_priv(indio_dev);
Expand Down Expand Up @@ -450,7 +450,7 @@ static struct spi_driver ad7791_driver = {
.owner = THIS_MODULE,
},
.probe = ad7791_probe,
.remove = __devexit_p(ad7791_remove),
.remove = ad7791_remove,
.id_table = ad7791_spi_ids,
};
module_spi_driver(ad7791_driver);
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/iio/adc/ad7887.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ static const struct iio_info ad7887_info = {
.driver_module = THIS_MODULE,
};

static int __devinit ad7887_probe(struct spi_device *spi)
static int ad7887_probe(struct spi_device *spi)
{
struct ad7887_platform_data *pdata = spi->dev.platform_data;
struct ad7887_state *st;
Expand Down Expand Up @@ -340,7 +340,7 @@ static int __devinit ad7887_probe(struct spi_device *spi)
return ret;
}

static int __devexit ad7887_remove(struct spi_device *spi)
static int ad7887_remove(struct spi_device *spi)
{
struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct ad7887_state *st = iio_priv(indio_dev);
Expand Down Expand Up @@ -368,7 +368,7 @@ static struct spi_driver ad7887_driver = {
.owner = THIS_MODULE,
},
.probe = ad7887_probe,
.remove = __devexit_p(ad7887_remove),
.remove = ad7887_remove,
.id_table = ad7887_id,
};
module_spi_driver(ad7887_driver);
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/iio/adc/at91_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ static const struct iio_info at91_adc_info = {
.read_raw = &at91_adc_read_raw,
};

static int __devinit at91_adc_probe(struct platform_device *pdev)
static int at91_adc_probe(struct platform_device *pdev)
{
unsigned int prsc, mstrclk, ticks, adc_clk;
int ret;
Expand Down Expand Up @@ -678,7 +678,7 @@ static int __devinit at91_adc_probe(struct platform_device *pdev)
return ret;
}

static int __devexit at91_adc_remove(struct platform_device *pdev)
static int at91_adc_remove(struct platform_device *pdev)
{
struct iio_dev *idev = platform_get_drvdata(pdev);
struct at91_adc_state *st = iio_priv(idev);
Expand All @@ -702,7 +702,7 @@ MODULE_DEVICE_TABLE(of, at91_adc_dt_ids);

static struct platform_driver at91_adc_driver = {
.probe = at91_adc_probe,
.remove = __devexit_p(at91_adc_remove),
.remove = at91_adc_remove,
.driver = {
.name = "at91_adc",
.of_match_table = of_match_ptr(at91_adc_dt_ids),
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/iio/adc/lp8788_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ static inline void lp8788_iio_map_unregister(struct iio_dev *indio_dev,
iio_map_array_unregister(indio_dev, adc->map);
}

static int __devinit lp8788_adc_probe(struct platform_device *pdev)
static int lp8788_adc_probe(struct platform_device *pdev)
{
struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent);
struct iio_dev *indio_dev;
Expand Down Expand Up @@ -236,7 +236,7 @@ static int __devinit lp8788_adc_probe(struct platform_device *pdev)
return ret;
}

static int __devexit lp8788_adc_remove(struct platform_device *pdev)
static int lp8788_adc_remove(struct platform_device *pdev)
{
struct iio_dev *indio_dev = platform_get_drvdata(pdev);
struct lp8788_adc *adc = iio_priv(indio_dev);
Expand All @@ -250,7 +250,7 @@ static int __devexit lp8788_adc_remove(struct platform_device *pdev)

static struct platform_driver lp8788_adc_driver = {
.probe = lp8788_adc_probe,
.remove = __devexit_p(lp8788_adc_remove),
.remove = lp8788_adc_remove,
.driver = {
.name = LP8788_DEV_ADC,
.owner = THIS_MODULE,
Expand Down
10 changes: 5 additions & 5 deletions trunk/drivers/iio/adc/max1363.c
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,7 @@ static int max1363_initial_setup(struct max1363_state *st)
return max1363_set_scan_mode(st);
}

static int __devinit max1363_alloc_scan_masks(struct iio_dev *indio_dev)
static int max1363_alloc_scan_masks(struct iio_dev *indio_dev)
{
struct max1363_state *st = iio_priv(indio_dev);
unsigned long *masks;
Expand Down Expand Up @@ -1525,8 +1525,8 @@ static void max1363_buffer_cleanup(struct iio_dev *indio_dev)
iio_kfifo_free(indio_dev->buffer);
}

static int __devinit max1363_probe(struct i2c_client *client,
const struct i2c_device_id *id)
static int max1363_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
int ret;
struct max1363_state *st;
Expand Down Expand Up @@ -1624,7 +1624,7 @@ static int __devinit max1363_probe(struct i2c_client *client,
return ret;
}

static int __devexit max1363_remove(struct i2c_client *client)
static int max1363_remove(struct i2c_client *client)
{
struct iio_dev *indio_dev = i2c_get_clientdata(client);
struct max1363_state *st = iio_priv(indio_dev);
Expand Down Expand Up @@ -1690,7 +1690,7 @@ static struct i2c_driver max1363_driver = {
.name = "max1363",
},
.probe = max1363_probe,
.remove = __devexit_p(max1363_remove),
.remove = max1363_remove,
.id_table = max1363_id,
};
module_i2c_driver(max1363_driver);
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/iio/adc/ti_am335x_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ static const struct iio_info tiadc_info = {
.read_raw = &tiadc_read_raw,
};

static int __devinit tiadc_probe(struct platform_device *pdev)
static int tiadc_probe(struct platform_device *pdev)
{
struct iio_dev *indio_dev;
struct tiadc_device *adc_dev;
Expand Down Expand Up @@ -188,7 +188,7 @@ static int __devinit tiadc_probe(struct platform_device *pdev)
return err;
}

static int __devexit tiadc_remove(struct platform_device *pdev)
static int tiadc_remove(struct platform_device *pdev)
{
struct iio_dev *indio_dev = platform_get_drvdata(pdev);

Expand Down Expand Up @@ -250,7 +250,7 @@ static struct platform_driver tiadc_driver = {
.pm = TIADC_PM_OPS,
},
.probe = tiadc_probe,
.remove = __devexit_p(tiadc_remove),
.remove = tiadc_remove,
};

module_platform_driver(tiadc_driver);
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/iio/adc/viperboard_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static const struct iio_info vprbrd_adc_iio_info = {
.driver_module = THIS_MODULE,
};

static int __devinit vprbrd_adc_probe(struct platform_device *pdev)
static int vprbrd_adc_probe(struct platform_device *pdev)
{
struct vprbrd *vb = dev_get_drvdata(pdev->dev.parent);
struct vprbrd_adc *adc;
Expand Down Expand Up @@ -154,7 +154,7 @@ static int __devinit vprbrd_adc_probe(struct platform_device *pdev)
return ret;
}

static int __devexit vprbrd_adc_remove(struct platform_device *pdev)
static int vprbrd_adc_remove(struct platform_device *pdev)
{
struct iio_dev *indio_dev = platform_get_drvdata(pdev);

Expand All @@ -170,7 +170,7 @@ static struct platform_driver vprbrd_adc_driver = {
.owner = THIS_MODULE,
},
.probe = vprbrd_adc_probe,
.remove = __devexit_p(vprbrd_adc_remove),
.remove = vprbrd_adc_remove,
};

module_platform_driver(vprbrd_adc_driver);
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/iio/amplifiers/ad8366.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ static const struct iio_chan_spec ad8366_channels[] = {
AD8366_CHAN(1),
};

static int __devinit ad8366_probe(struct spi_device *spi)
static int ad8366_probe(struct spi_device *spi)
{
struct iio_dev *indio_dev;
struct ad8366_state *st;
Expand Down Expand Up @@ -182,7 +182,7 @@ static int __devinit ad8366_probe(struct spi_device *spi)
return ret;
}

static int __devexit ad8366_remove(struct spi_device *spi)
static int ad8366_remove(struct spi_device *spi)
{
struct iio_dev *indio_dev = spi_get_drvdata(spi);
struct ad8366_state *st = iio_priv(indio_dev);
Expand Down Expand Up @@ -211,7 +211,7 @@ static struct spi_driver ad8366_driver = {
.owner = THIS_MODULE,
},
.probe = ad8366_probe,
.remove = __devexit_p(ad8366_remove),
.remove = ad8366_remove,
.id_table = ad8366_id,
};

Expand Down
Loading

0 comments on commit d0fc68b

Please sign in to comment.