mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-08-18 02:22:47 -07:00
iio:dac: drop assignment of iio_info.driver_module
The equivalent of this is now done via macro magic when the relevant register call is made. The actual structure element will shortly go away. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
This commit is contained in:
1 parent
d5b531a8bc
commit
ea9e3f3588
27 files changed
-27
No files matched your search
@@ -366,7 +366,6 @@ static int ad5064_write_raw(struct iio_dev *indio_dev,
|
||||
static const struct iio_info ad5064_info = {
|
||||
.read_raw = ad5064_read_raw,
|
||||
.write_raw = ad5064_write_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const struct iio_chan_spec_ext_info ad5064_ext_info[] = {
|
||||
|
||||
@@ -425,7 +425,6 @@ static const struct iio_info ad5360_info = {
|
||||
.read_raw = ad5360_read_raw,
|
||||
.write_raw = ad5360_write_raw,
|
||||
.attrs = &ad5360_attribute_group,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const char * const ad5360_vref_name[] = {
|
||||
|
||||
@@ -237,7 +237,6 @@ static int ad5380_read_raw(struct iio_dev *indio_dev,
|
||||
static const struct iio_info ad5380_info = {
|
||||
.read_raw = ad5380_read_raw,
|
||||
.write_raw = ad5380_write_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static struct iio_chan_spec_ext_info ad5380_ext_info[] = {
|
||||
|
||||
@@ -465,7 +465,6 @@ static const struct iio_info ad5421_info = {
|
||||
.read_event_config = ad5421_read_event_config,
|
||||
.write_event_config = ad5421_write_event_config,
|
||||
.read_event_value = ad5421_read_event_value,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static int ad5421_probe(struct spi_device *spi)
|
||||
|
||||
@@ -212,7 +212,6 @@ static int ad5446_write_raw(struct iio_dev *indio_dev,
|
||||
static const struct iio_info ad5446_info = {
|
||||
.read_raw = ad5446_read_raw,
|
||||
.write_raw = ad5446_write_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static int ad5446_probe(struct device *dev, const char *name,
|
||||
|
||||
@@ -193,7 +193,6 @@ static int ad5449_write_raw(struct iio_dev *indio_dev,
|
||||
static const struct iio_info ad5449_info = {
|
||||
.read_raw = ad5449_read_raw,
|
||||
.write_raw = ad5449_write_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
#define AD5449_CHANNEL(chan, bits) { \
|
||||
|
||||
@@ -232,7 +232,6 @@ static const struct iio_info ad5504_info = {
|
||||
.write_raw = ad5504_write_raw,
|
||||
.read_raw = ad5504_read_raw,
|
||||
.event_attrs = &ad5504_ev_attribute_group,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const struct iio_chan_spec_ext_info ad5504_ext_info[] = {
|
||||
|
||||
@@ -474,7 +474,6 @@ static const struct iio_info ad5592r_info = {
|
||||
.read_raw = ad5592r_read_raw,
|
||||
.write_raw = ad5592r_write_raw,
|
||||
.write_raw_get_fmt = ad5592r_write_raw_get_fmt,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static ssize_t ad5592r_show_scale_available(struct iio_dev *iio_dev,
|
||||
|
||||
@@ -149,7 +149,6 @@ static ssize_t ad5624r_write_dac_powerdown(struct iio_dev *indio_dev,
|
||||
static const struct iio_info ad5624r_info = {
|
||||
.write_raw = ad5624r_write_raw,
|
||||
.read_raw = ad5624r_read_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const struct iio_chan_spec_ext_info ad5624r_ext_info[] = {
|
||||
|
||||
@@ -252,7 +252,6 @@ static int ad5686_write_raw(struct iio_dev *indio_dev,
|
||||
static const struct iio_info ad5686_info = {
|
||||
.read_raw = ad5686_read_raw,
|
||||
.write_raw = ad5686_write_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const struct iio_chan_spec_ext_info ad5686_ext_info[] = {
|
||||
|
||||
@@ -417,7 +417,6 @@ static ssize_t ad5755_write_powerdown(struct iio_dev *indio_dev, uintptr_t priv,
|
||||
static const struct iio_info ad5755_info = {
|
||||
.read_raw = ad5755_read_raw,
|
||||
.write_raw = ad5755_write_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const struct iio_chan_spec_ext_info ad5755_ext_info[] = {
|
||||
|
||||
@@ -251,7 +251,6 @@ static int ad5761_write_raw(struct iio_dev *indio_dev,
|
||||
static const struct iio_info ad5761_info = {
|
||||
.read_raw = &ad5761_read_raw,
|
||||
.write_raw = &ad5761_write_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
#define AD5761_CHAN(_bits) { \
|
||||
|
||||
@@ -268,7 +268,6 @@ static int ad5764_read_raw(struct iio_dev *indio_dev,
|
||||
static const struct iio_info ad5764_info = {
|
||||
.read_raw = ad5764_read_raw,
|
||||
.write_raw = ad5764_write_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static int ad5764_probe(struct spi_device *spi)
|
||||
|
||||
@@ -340,7 +340,6 @@ static int ad5791_write_raw(struct iio_dev *indio_dev,
|
||||
static const struct iio_info ad5791_info = {
|
||||
.read_raw = &ad5791_read_raw,
|
||||
.write_raw = &ad5791_write_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static int ad5791_probe(struct spi_device *spi)
|
||||
|
||||
@@ -161,7 +161,6 @@ static int ad7303_write_raw(struct iio_dev *indio_dev,
|
||||
static const struct iio_info ad7303_info = {
|
||||
.read_raw = ad7303_read_raw,
|
||||
.write_raw = ad7303_write_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const struct iio_chan_spec_ext_info ad7303_ext_info[] = {
|
||||
|
||||
@@ -92,7 +92,6 @@ static int ad8801_read_raw(struct iio_dev *indio_dev,
|
||||
static const struct iio_info ad8801_info = {
|
||||
.read_raw = ad8801_read_raw,
|
||||
.write_raw = ad8801_write_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
#define AD8801_CHANNEL(chan) { \
|
||||
|
||||
@@ -85,7 +85,6 @@ static int cio_dac_write_raw(struct iio_dev *indio_dev,
|
||||
}
|
||||
|
||||
static const struct iio_info cio_dac_info = {
|
||||
.driver_module = THIS_MODULE,
|
||||
.read_raw = cio_dac_read_raw,
|
||||
.write_raw = cio_dac_write_raw
|
||||
};
|
||||
|
||||
@@ -128,7 +128,6 @@ static const struct iio_info dpot_dac_info = {
|
||||
.read_raw = dpot_dac_read_raw,
|
||||
.read_avail = dpot_dac_read_avail,
|
||||
.write_raw = dpot_dac_write_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static int dpot_dac_channel_max_ohms(struct iio_dev *indio_dev)
|
||||
|
||||
@@ -103,7 +103,6 @@ static int lpc18xx_dac_write_raw(struct iio_dev *indio_dev,
|
||||
static const struct iio_info lpc18xx_dac_info = {
|
||||
.read_raw = lpc18xx_dac_read_raw,
|
||||
.write_raw = lpc18xx_dac_write_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static int lpc18xx_dac_probe(struct platform_device *pdev)
|
||||
|
||||
@@ -159,7 +159,6 @@ static ssize_t ltc2632_write_dac_powerdown(struct iio_dev *indio_dev,
|
||||
static const struct iio_info ltc2632_info = {
|
||||
.write_raw = ltc2632_write_raw,
|
||||
.read_raw = ltc2632_read_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const struct iio_chan_spec_ext_info ltc2632_ext_info[] = {
|
||||
|
||||
Loaded 20 of 27 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user