Commit 02272cb1 authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Jonathan Cameron
Browse files

staging:iio:meter: drop assign iio_info.driver_module and 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 will shortly go away.

Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: default avatarLars-Peter Clausen <lars@metafoo.de>
parent 6dab4d41
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -561,7 +561,6 @@ static const struct attribute_group ade7753_attribute_group = {

static const struct iio_info ade7753_info = {
	.attrs = &ade7753_attribute_group,
	.driver_module = THIS_MODULE,
};

static int ade7753_probe(struct spi_device *spi)
+0 −1
Original line number Diff line number Diff line
@@ -601,7 +601,6 @@ static const struct attribute_group ade7754_attribute_group = {

static const struct iio_info ade7754_info = {
	.attrs = &ade7754_attribute_group,
	.driver_module = THIS_MODULE,
};

static int ade7754_probe(struct spi_device *spi)
+0 −1
Original line number Diff line number Diff line
@@ -827,7 +827,6 @@ static const struct iio_info ade7758_info = {
	.attrs = &ade7758_attribute_group,
	.read_raw = &ade7758_read_raw,
	.write_raw = &ade7758_write_raw,
	.driver_module = THIS_MODULE,
};

static int ade7758_probe(struct spi_device *spi)
+0 −1
Original line number Diff line number Diff line
@@ -53,7 +53,6 @@ static int ade7758_trig_try_reen(struct iio_trigger *trig)
}

static const struct iio_trigger_ops ade7758_trigger_ops = {
	.owner = THIS_MODULE,
	.set_trigger_state = &ade7758_data_rdy_trigger_set_state,
	.try_reenable = &ade7758_trig_try_reen,
};
+0 −1
Original line number Diff line number Diff line
@@ -493,7 +493,6 @@ static const struct attribute_group ade7759_attribute_group = {

static const struct iio_info ade7759_info = {
	.attrs = &ade7759_attribute_group,
	.driver_module = THIS_MODULE,
};

static int ade7759_probe(struct spi_device *spi)
Loading