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

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

+1 -1
+1 -1
drivers/iio/accel/kxsd9-spi.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 #include <linux/device.h> 3 3 #include <linux/kernel.h> 4 - #include <linux/of.h> 5 4 #include <linux/spi/spi.h> 6 5 #include <linux/module.h> 6 + #include <linux/mod_devicetable.h> 7 7 #include <linux/slab.h> 8 8 #include <linux/regmap.h> 9 9