diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-02-18 18:33:21 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-02-28 20:26:35 +0100 |
commit | 22f4fae348a8059323aad78a6fa66448cb2999df (patch) | |
tree | a30076afa693dcdbc5753d52f180cdbf9b113a40 /drivers/iio | |
parent | iio: accel: adxl372: Switch from linux/of.h to linux/mod_devicetable.h (diff) | |
download | linux-22f4fae348a8059323aad78a6fa66448cb2999df.tar.xz linux-22f4fae348a8059323aad78a6fa66448cb2999df.zip |
iio: accel: bma180: Switch from linux/of.h to linux/mod_devicetable.h
The only of specific definition used is of_device_id table and that
is found in mod_devicetable.h not of.h
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240218173323.1023703-7-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/accel/bma180.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/accel/bma180.c b/drivers/iio/accel/bma180.c index ab4fccb24b6c..6581772cb0c4 100644 --- a/drivers/iio/accel/bma180.c +++ b/drivers/iio/accel/bma180.c @@ -13,10 +13,10 @@ */ #include <linux/module.h> +#include <linux/mod_devicetable.h> #include <linux/i2c.h> #include <linux/interrupt.h> #include <linux/delay.h> -#include <linux/of.h> #include <linux/bitops.h> #include <linux/regulator/consumer.h> #include <linux/slab.h> |