diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-12-05 20:01:32 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-12-12 20:12:43 +0300 |
commit | 09a74ea737352a80ed6e3fd427350d7d9c5a5502 (patch) | |
tree | cda3fd6db35e2a21b4a6edefa35611752d8bce9e | |
parent | 5669c086e699ff269a977b225a8c9643cf39e53f (diff) | |
download | linux-09a74ea737352a80ed6e3fd427350d7d9c5a5502.tar.xz |
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>
-rw-r--r-- | drivers/iio/dac/lpc18xx_dac.c | 3 |
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> |