summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-10-01 17:10:04 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-10-10 18:03:28 +0100
commit223f4d9517f8d97721647297b1cde41241a45233 (patch)
tree23e55c5f3b80e642da42762ad310161ad9d8765a /include/linux
parent28963f2f6b46d75bda8fed15bd5ce9923427a40d (diff)
downloadlinux-stable-223f4d9517f8d97721647297b1cde41241a45233.tar.gz
linux-stable-223f4d9517f8d97721647297b1cde41241a45233.tar.bz2
linux-stable-223f4d9517f8d97721647297b1cde41241a45233.zip
iio: dac: ad7303: remove platform data header
The information in the ad7303 platform_data header is unused, so it's dead code. This change removes it and it's inclusion from the driver. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Link: https://lore.kernel.org/r/20201001141004.53846-1-alexandru.ardelean@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/platform_data/ad7303.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/linux/platform_data/ad7303.h b/include/linux/platform_data/ad7303.h
deleted file mode 100644
index c2bd0a13bea1..000000000000
--- a/include/linux/platform_data/ad7303.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Analog Devices AD7303 DAC driver
- *
- * Copyright 2013 Analog Devices Inc.
- */
-
-#ifndef __IIO_ADC_AD7303_H__
-#define __IIO_ADC_AD7303_H__
-
-/**
- * struct ad7303_platform_data - AD7303 platform data
- * @use_external_ref: If set to true use an external voltage reference connected
- * to the REF pin, otherwise use the internal reference derived from Vdd.
- */
-struct ad7303_platform_data {
- bool use_external_ref;
-};
-
-#endif