summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2021-12-05 18:01:32 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-12-12 18:12:43 +0100
commit09a74ea737352a80ed6e3fd427350d7d9c5a5502 (patch)
treecda3fd6db35e2a21b4a6edefa35611752d8bce9e /drivers/iio/dac
parentiio:dac:dpot-dac: Swap of.h for mod_devicetable.h (diff)
downloadlinux-09a74ea737352a80ed6e3fd427350d7d9c5a5502.tar.xz
linux-09a74ea737352a80ed6e3fd427350d7d9c5a5502.zip
iio:dac:lpc18xx_dac: Swap from of* to mod_devicetable.h
This driver never used anything from the of specific headers. mod_devicetable.h provides the struct of_device_id definition. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'drivers/iio/dac')
-rw-r--r--drivers/iio/dac/lpc18xx_dac.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/dac/lpc18xx_dac.c b/drivers/iio/dac/lpc18xx_dac.c
index 5502e4f62f0d..60467c6f2c6e 100644
--- a/drivers/iio/dac/lpc18xx_dac.c
+++ b/drivers/iio/dac/lpc18xx_dac.c
@@ -16,9 +16,8 @@
#include <linux/io.h>
#include <linux/iopoll.h>
#include <linux/module.h>
+#include <linux/mod_devicetable.h>
#include <linux/mutex.h>
-#include <linux/of.h>
-#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>