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

iio: temperature: maxim_thermocouple: Switch from of headers to mod_devicetable.h

There is nothing directly using of specific interfaces in this driver,
so lets not include the headers.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220202205328.57837-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Andy Shevchenko and committed by
Jonathan Cameron
0bb77dce 2314e7ed

+2 -3
+2 -3
drivers/iio/temperature/maxim_thermocouple.c
··· 6 6 * Author: <matt.ranostay@konsulko.com> 7 7 */ 8 8 9 - #include <linux/module.h> 10 9 #include <linux/init.h> 10 + #include <linux/mod_devicetable.h> 11 + #include <linux/module.h> 11 12 #include <linux/mutex.h> 12 13 #include <linux/err.h> 13 - #include <linux/of.h> 14 - #include <linux/of_device.h> 15 14 #include <linux/spi/spi.h> 16 15 #include <linux/iio/iio.h> 17 16 #include <linux/iio/sysfs.h>