diff options
author | Michael Auchter <michael.auchter@ni.com> | 2020-09-22 09:44:20 -0500 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-29 17:27:05 +0100 |
commit | 48404cf57852224c052e2e40d4dc50dd398c7a58 (patch) | |
tree | 810e688a6f6e3c88cfe269aac0f23212f5aef523 /include/linux/platform_data | |
parent | iio: event: NULL-ify IIO device's event_interface ref during unregister (diff) | |
download | linux-dev-48404cf57852224c052e2e40d4dc50dd398c7a58.tar.xz linux-dev-48404cf57852224c052e2e40d4dc50dd398c7a58.zip |
iio: adc: ad7291: convert to device tree
There are no in-tree users of the platform data for this driver, so
remove it and convert the driver to use device tree instead.
Signed-off-by: Michael Auchter <michael.auchter@ni.com>
Link: https://lore.kernel.org/r/20200922144422.542669-1-michael.auchter@ni.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/ad7291.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/platform_data/ad7291.h b/include/linux/platform_data/ad7291.h deleted file mode 100644 index b1fd1530c9a5..000000000000 --- a/include/linux/platform_data/ad7291.h +++ /dev/null @@ -1,13 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __IIO_AD7291_H__ -#define __IIO_AD7291_H__ - -/** - * struct ad7291_platform_data - AD7291 platform data - * @use_external_ref: Whether to use an external or internal reference voltage - */ -struct ad7291_platform_data { - bool use_external_ref; -}; - -#endif |