Skip to content

Commit 4ae1c61

Browse files
wfp5pgregkh
authored andcommitted
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>
1 parent 1a6a8a8 commit 4ae1c61

63 files changed

Lines changed: 68 additions & 68 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎drivers/staging/iio/accel/adis16201_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ static const struct adis_data adis16201_data = {
175175
BIT(ADIS16201_DIAG_STAT_POWER_LOW_BIT),
176176
};
177177

178-
static int __devinit adis16201_probe(struct spi_device *spi)
178+
static int adis16201_probe(struct spi_device *spi)
179179
{
180180
int ret;
181181
struct adis *st;

‎drivers/staging/iio/accel/adis16203_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ static const struct adis_data adis16203_data = {
141141
BIT(ADIS16203_DIAG_STAT_POWER_LOW_BIT),
142142
};
143143

144-
static int __devinit adis16203_probe(struct spi_device *spi)
144+
static int adis16203_probe(struct spi_device *spi)
145145
{
146146
int ret;
147147
struct iio_dev *indio_dev;

‎drivers/staging/iio/accel/adis16204_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ static const struct adis_data adis16204_data = {
182182
BIT(ADIS16204_DIAG_STAT_POWER_LOW_BIT),
183183
};
184184

185-
static int __devinit adis16204_probe(struct spi_device *spi)
185+
static int adis16204_probe(struct spi_device *spi)
186186
{
187187
int ret;
188188
struct adis *st;

‎drivers/staging/iio/accel/adis16209_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ static const struct adis_data adis16209_data = {
176176
};
177177

178178

179-
static int __devinit adis16209_probe(struct spi_device *spi)
179+
static int adis16209_probe(struct spi_device *spi)
180180
{
181181
int ret;
182182
struct adis *st;

‎drivers/staging/iio/accel/adis16220_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ static const struct adis_data adis16220_data = {
421421
BIT(ADIS16220_DIAG_STAT_POWER_LOW_BIT),
422422
};
423423

424-
static int __devinit adis16220_probe(struct spi_device *spi)
424+
static int adis16220_probe(struct spi_device *spi)
425425
{
426426
int ret;
427427
struct adis16220_state *st;

‎drivers/staging/iio/accel/adis16240_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ static const struct adis_data adis16240_data = {
232232
BIT(ADIS16240_DIAG_STAT_POWER_LOW_BIT),
233233
};
234234

235-
static int __devinit adis16240_probe(struct spi_device *spi)
235+
static int adis16240_probe(struct spi_device *spi)
236236
{
237237
int ret;
238238
struct adis *st;

‎drivers/staging/iio/accel/kxsd9.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ static const struct attribute_group kxsd9_attribute_group = {
200200
.attrs = kxsd9_attributes,
201201
};
202202

203-
static int __devinit kxsd9_power_up(struct kxsd9_state *st)
203+
static int kxsd9_power_up(struct kxsd9_state *st)
204204
{
205205
int ret;
206206

@@ -222,7 +222,7 @@ static const struct iio_info kxsd9_info = {
222222
.driver_module = THIS_MODULE,
223223
};
224224

225-
static int __devinit kxsd9_probe(struct spi_device *spi)
225+
static int kxsd9_probe(struct spi_device *spi)
226226
{
227227
struct iio_dev *indio_dev;
228228
struct kxsd9_state *st;

‎drivers/staging/iio/accel/lis3l02dq_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ static const struct iio_info lis3l02dq_info = {
675675
.attrs = &lis3l02dq_attribute_group,
676676
};
677677

678-
static int __devinit lis3l02dq_probe(struct spi_device *spi)
678+
static int lis3l02dq_probe(struct spi_device *spi)
679679
{
680680
int ret;
681681
struct lis3l02dq_state *st;

‎drivers/staging/iio/accel/sca3000_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@ static const struct iio_info sca3000_info_with_temp = {
11391139
.driver_module = THIS_MODULE,
11401140
};
11411141

1142-
static int __devinit sca3000_probe(struct spi_device *spi)
1142+
static int sca3000_probe(struct spi_device *spi)
11431143
{
11441144
int ret;
11451145
struct sca3000_state *st;

‎drivers/staging/iio/adc/ad7192.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ static const struct iio_chan_spec ad7192_channels[] = {
606606
IIO_CHAN_SOFT_TIMESTAMP(8),
607607
};
608608

609-
static int __devinit ad7192_probe(struct spi_device *spi)
609+
static int ad7192_probe(struct spi_device *spi)
610610
{
611611
const struct ad7192_platform_data *pdata = spi->dev.platform_data;
612612
struct ad7192_state *st;

0 commit comments

Comments
 (0)