diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2018-03-12 14:06:54 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-03-17 20:47:21 +0000 |
commit | 381522c030b5c249b70f4e35e3473ba07fa2cdc5 (patch) | |
tree | 3460e7ae94c768527a644d9efe4e82f31904e1b3 /Kbuild | |
parent | 7eb6b35d93c356f1afebbfb808bc296d6351e708 (diff) | |
download | linux-381522c030b5c249b70f4e35e3473ba07fa2cdc5.tar.gz linux-381522c030b5c249b70f4e35e3473ba07fa2cdc5.tar.bz2 linux-381522c030b5c249b70f4e35e3473ba07fa2cdc5.zip |
iio: adc: ad7791: implement IIO_CHAN_INFO_SAMP_FREQ
Now that the old read/write frequency sysfs attrs have been removed, we
have a clean slate to implement IIO_CHAN_INFO_SAMP_FREQ.
This driver also pre-dates IIO_CHAN_INFO_SAMP_FREQ, and this change
implements this behavior.
The `ad7791_write_raw` would have overlapped quite a bit with the old
read/write frequency functions, making things a bit harder to follow.
Fixes: a13e831fcaa7 ("staging: iio: ad7192: implement
IIO_CHAN_INFO_SAMP_FREQ")
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions