summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/ad7303.c
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 /drivers/iio/dac/ad7303.c
parent28963f2f6b46d75bda8fed15bd5ce9923427a40d (diff)
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 'drivers/iio/dac/ad7303.c')
-rw-r--r--drivers/iio/dac/ad7303.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/dac/ad7303.c b/drivers/iio/dac/ad7303.c
index 2e46def9d8ee..dbb4645ab6b1 100644
--- a/drivers/iio/dac/ad7303.c
+++ b/drivers/iio/dac/ad7303.c
@@ -17,8 +17,6 @@
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
-#include <linux/platform_data/ad7303.h>
-
#define AD7303_CFG_EXTERNAL_VREF BIT(15)
#define AD7303_CFG_POWER_DOWN(ch) BIT(11 + (ch))
#define AD7303_CFG_ADDR_OFFSET 10