Searched hist:"3 c43b6e1" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/adc/ |
H A D | max1118.c | 3c43b6e1 Sun May 16 12:25:16 CDT 2021 Jonathan Cameron <Jonathan.Cameron@huawei.com> iio: adc: max1118: Avoid jumping back and forth between spi and iio structures
Changing from passing the spi structure into various functions to passing struct iio_dev avoids use of spi_get_drvdata and lets us stop setting that at all. Previous code was unnecessarily complex.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Alexandru Ardelean <aardelean@deviqon.com> Link: https://lore.kernel.org/r/20210516172520.1398835-5-jic23@kernel.org
|