Skip to content

Commit

Permalink
iio:stm32-lp-timer and ep93xx: drop assign iio_info.driver_module and…
Browse files Browse the repository at this point in the history
… iio_trigger_ops.owner

The equivalent of both of these are now done via macro magic when
the relevant register calls are made.  The actual structure
elements have gone away.

Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
jic23 authored and gregkh committed Sep 26, 2017
1 parent 069f0e0 commit f4052ef
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/iio/adc/ep93xx_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ static int ep93xx_read_raw(struct iio_dev *iiodev,
}

static const struct iio_info ep93xx_adc_info = {
.driver_module = THIS_MODULE,
.read_raw = ep93xx_read_raw,
};

Expand Down
1 change: 0 additions & 1 deletion drivers/iio/counter/stm32-lptimer-cnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ static int stm32_lptim_read_raw(struct iio_dev *indio_dev,
static const struct iio_info stm32_lptim_cnt_iio_info = {
.read_raw = stm32_lptim_read_raw,
.write_raw = stm32_lptim_write_raw,
.driver_module = THIS_MODULE,
};

static const char *const stm32_lptim_quadrature_modes[] = {
Expand Down
1 change: 0 additions & 1 deletion drivers/iio/trigger/stm32-lptimer-trigger.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ static int stm32_lptim_validate_device(struct iio_trigger *trig,
}

static const struct iio_trigger_ops stm32_lptim_trigger_ops = {
.owner = THIS_MODULE,
.validate_device = stm32_lptim_validate_device,
};

Expand Down

0 comments on commit f4052ef

Please sign in to comment.