Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: accel: adxl372: 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-6-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

+1 -1
+1 -1
drivers/iio/accel/adxl372_spi.c
··· 6 6 */ 7 7 8 8 #include <linux/module.h> 9 + #include <linux/mod_devicetable.h> 9 10 #include <linux/regmap.h> 10 - #include <linux/of.h> 11 11 #include <linux/spi/spi.h> 12 12 13 13 #include "adxl372.h"