Commit 6a15fef2 authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Jonathan Cameron
Browse files

iio:pressure: 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 c64fdf0f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -168,7 +168,6 @@ static int abp060mg_read_raw(struct iio_dev *indio_dev,
}

static const struct iio_info abp060mg_info = {
	.driver_module = THIS_MODULE,
	.read_raw = abp060mg_read_raw,
};

+0 −1
Original line number Diff line number Diff line
@@ -546,7 +546,6 @@ static const struct attribute_group bmp280_attrs_group = {
};

static const struct iio_info bmp280_info = {
	.driver_module = THIS_MODULE,
	.read_raw = &bmp280_read_raw,
	.write_raw = &bmp280_write_raw,
	.attrs = &bmp280_attrs_group,
+0 −1
Original line number Diff line number Diff line
@@ -120,7 +120,6 @@ static int cros_ec_baro_write(struct iio_dev *indio_dev,
static const struct iio_info cros_ec_baro_info = {
	.read_raw = &cros_ec_baro_read,
	.write_raw = &cros_ec_baro_write,
	.driver_module = THIS_MODULE,
};

static int cros_ec_baro_probe(struct platform_device *pdev)
+0 −1
Original line number Diff line number Diff line
@@ -160,7 +160,6 @@ static int press_write_raw(struct iio_dev *indio_dev,
}

static const struct iio_info press_info = {
	.driver_module = THIS_MODULE,
	.read_raw = &press_read_raw,
	.write_raw = &press_write_raw,
};
+0 −1
Original line number Diff line number Diff line
@@ -208,7 +208,6 @@ static int hp03_read_raw(struct iio_dev *indio_dev,
}

static const struct iio_info hp03_info = {
	.driver_module	= THIS_MODULE,
	.read_raw	= &hp03_read_raw,
};

Loading