Skip to content

Commit

Permalink
iio:potentiostat:lmp91000 drop assign iio_info.driver_module and iio_…
Browse files Browse the repository at this point in the history
…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 will shortly go away.

Signed-off-by: Jonathan Cameron <[email protected]>
Reviewed-by: Lars-Peter Clausen <[email protected]>
  • Loading branch information
jic23 committed Aug 22, 2017
1 parent 6d9d020 commit c64fdf0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/iio/potentiostat/lmp91000.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ static int lmp91000_read_raw(struct iio_dev *indio_dev,
}

static const struct iio_info lmp91000_info = {
.driver_module = THIS_MODULE,
.read_raw = lmp91000_read_raw,
};

Expand Down Expand Up @@ -283,7 +282,6 @@ static int lmp91000_buffer_cb(const void *val, void *private)
}

static const struct iio_trigger_ops lmp91000_trigger_ops = {
.owner = THIS_MODULE,
};


Expand Down

0 comments on commit c64fdf0

Please sign in to comment.