diff options
author | Nuno Sa <nuno.sa@analog.com> | 2024-07-09 14:14:28 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-08-03 12:13:36 +0300 |
commit | 8585632a8600d26d4e6b7246d375a9c3a344f0d2 (patch) | |
tree | de5fb3b24867d2020990048f35e683fcefefd7ec /drivers/iio/dac/ad9739a.c | |
parent | 3e82dfc82f38e4db5b578368beb5d99a8cdee21d (diff) | |
download | linux-8585632a8600d26d4e6b7246d375a9c3a344f0d2.tar.xz |
iio: backend: remove unused parameter
Indio_dev was not being used in iio_backend_extend_chan_spec() so remove
it.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20240709-dev-iio-backend-add-debugfs-v1-1-fb4b8f2373c7@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac/ad9739a.c')
-rw-r--r-- | drivers/iio/dac/ad9739a.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/dac/ad9739a.c b/drivers/iio/dac/ad9739a.c index f56eabe53723..9b1570e788b6 100644 --- a/drivers/iio/dac/ad9739a.c +++ b/drivers/iio/dac/ad9739a.c @@ -413,8 +413,7 @@ static int ad9739a_probe(struct spi_device *spi) if (ret) return ret; - ret = iio_backend_extend_chan_spec(indio_dev, st->back, - &ad9739a_channels[0]); + ret = iio_backend_extend_chan_spec(st->back, &ad9739a_channels[0]); if (ret) return ret; |