diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-12-05 17:01:38 +0000 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-12-12 17:13:11 +0000 |
commit | f346c96505412d83f7c8aa09629e48c2d3315fd4 (patch) | |
tree | ae8a1fed7036839616d073cb3febb26ab605e48b /drivers/iio | |
parent | 3c3969a0c99b0da5223d869b3b21ce3d38931810 (diff) | |
download | linux-f346c96505412d83f7c8aa09629e48c2d3315fd4.tar.bz2 |
iio:adc:envelope-detector: Switch from of headers to mod_devicetable.h
There is nothing directly using of specific interfaces in this driver,
so lets not include the headers.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Peter Rosin <peda@axentia.se>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/adc/envelope-detector.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/adc/envelope-detector.c b/drivers/iio/adc/envelope-detector.c index d73eac36153f..e911c25d106d 100644 --- a/drivers/iio/adc/envelope-detector.c +++ b/drivers/iio/adc/envelope-detector.c @@ -31,14 +31,13 @@ #include <linux/err.h> #include <linux/kernel.h> #include <linux/module.h> +#include <linux/mod_devicetable.h> #include <linux/mutex.h> #include <linux/iio/consumer.h> #include <linux/iio/iio.h> #include <linux/iio/sysfs.h> #include <linux/interrupt.h> #include <linux/irq.h> -#include <linux/of.h> -#include <linux/of_device.h> #include <linux/platform_device.h> #include <linux/spinlock.h> #include <linux/workqueue.h> |