summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-10-01 16:10:48 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-10-10 19:01:26 +0200
commit28963f2f6b46d75bda8fed15bd5ce9923427a40d (patch)
treef5d2c186854d06b032f430d1a50101cf7fee7bfa /drivers/iio/dac
parentiio: core: Fix IIO_VAL_FRACTIONAL calculation for negative values (diff)
downloadlinux-28963f2f6b46d75bda8fed15bd5ce9923427a40d.tar.xz
linux-28963f2f6b46d75bda8fed15bd5ce9923427a40d.zip
iio: adc: ad7298: rework external ref setup & remove platform data
This change removes the old platform data for ad7298. It is only used to provide whether to use an external regulator as a reference. So, the logic is inverted a bit. The driver now tries to obtain a regulator. If one is provided, then the external ref is used. The rest of the logic should work as before. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Link: https://lore.kernel.org/r/20201001141048.69050-1-alexandru.ardelean@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac')
0 files changed, 0 insertions, 0 deletions