summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2021-12-05 20:01:30 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-12-12 20:12:34 +0300
commitf191fe4f0d3e8ed033d888b4da9039f8ffe4039f (patch)
tree8bd361fa5d715b1a21969865260652f7cebb6b94
parent3ac27afefd5dd6a53e830542b899f092a58b6b51 (diff)
downloadlinux-f191fe4f0d3e8ed033d888b4da9039f8ffe4039f.tar.xz
iio:dac:ad5758: Drop unused of specific headers.
These have never been used in this driver. What is used is in mod_devicetable.h so add that include (struct of_device_id) Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: Daniel Gomez <dagmcr@gmail.com>
-rw-r--r--drivers/iio/dac/ad5758.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/dac/ad5758.c b/drivers/iio/dac/ad5758.c
index 0572ef518101..98771e37a7b5 100644
--- a/drivers/iio/dac/ad5758.c
+++ b/drivers/iio/dac/ad5758.c
@@ -10,9 +10,8 @@
#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/mod_devicetable.h>
#include <linux/property.h>
-#include <linux/of.h>
-#include <linux/of_device.h>
#include <linux/spi/spi.h>
#include <linux/gpio/consumer.h>