diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 18:21:57 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 22:31:41 (GMT) |
commit | 4ae1c61ff2ba4fea4e4c1a045cb1f34520608789 (patch) | |
tree | 6420a76236efc0c183899fbf8da21a871f1ad626 /drivers/staging/iio/cdc | |
parent | 1a6a8a8414f740f1dfde762837eeb3f2ce835919 (diff) | |
download | linux-4ae1c61ff2ba4fea4e4c1a045cb1f34520608789.tar.xz |
staging: iio: remove use of __devinit
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>
Diffstat (limited to 'drivers/staging/iio/cdc')
-rw-r--r-- | drivers/staging/iio/cdc/ad7150.c | 2 | ||||
-rw-r--r-- | drivers/staging/iio/cdc/ad7152.c | 2 | ||||
-rw-r--r-- | drivers/staging/iio/cdc/ad7746.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/iio/cdc/ad7150.c b/drivers/staging/iio/cdc/ad7150.c index c72a6c0..4ee4bfb 100644 --- a/drivers/staging/iio/cdc/ad7150.c +++ b/drivers/staging/iio/cdc/ad7150.c @@ -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; diff --git a/drivers/staging/iio/cdc/ad7152.c b/drivers/staging/iio/cdc/ad7152.c index 288b33e..e12e99be 100644 --- a/drivers/staging/iio/cdc/ad7152.c +++ b/drivers/staging/iio/cdc/ad7152.c @@ -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; diff --git a/drivers/staging/iio/cdc/ad7746.c b/drivers/staging/iio/cdc/ad7746.c index e6c11d9..5c9d204 100644 --- a/drivers/staging/iio/cdc/ad7746.c +++ b/drivers/staging/iio/cdc/ad7746.c @@ -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; |