diff options
| author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2018-03-12 14:06:53 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-03-17 20:47:01 +0000 |
| commit | 7eb6b35d93c356f1afebbfb808bc296d6351e708 (patch) | |
| tree | f8bea13c0a36a37be750c07d5b76f9dd1d32f76f /include | |
| parent | 5a0b8cb46624cc17fda676d6ae44fb72504f0ad9 (diff) | |
| download | cachepc-linux-7eb6b35d93c356f1afebbfb808bc296d6351e708.tar.gz cachepc-linux-7eb6b35d93c356f1afebbfb808bc296d6351e708.zip | |
iio: adc: ad7791: remove sample freq sysfs attributes
In the current state, these attributes are broken, because they are
registered already, and the kernel throws a warning.
The first registration happens via the `IIO_CHAN_INFO_SAMP_FREQ` flag from
the `ad_sigma_delta` driver.
In this commit these attrs are removed, and in the following the
IIO_CHAN_INFO_SAMP_FREQ behavior will be implemented, which replaces these
hooks.
This is done to make things a bit easier to review as there is a bit of
overlap in the patch if it's done all at once.
Fixes: a13e831fcaa7 ("staging: iio: ad7192: implement IIO_CHAN_INFO_SAMP_FREQ")
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
