iio: temperature: maxim_thermocouple: Switch from of headers to mod_devicetable.h
PATCH 1/1 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 <[email protected]>
--- drivers/iio/temperature/maxim_thermocouple.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/iio/temperature/maxim_thermocouple.c +2 -3
@@ -6,12 +6,11 @@* Author: <[email protected]> */ -#include <linux/module.h> #include <linux/init.h> +#include <linux/mod_devicetable.h> +#include <linux/module.h> #include <linux/mutex.h> #include <linux/err.h> -#include <linux/of.h> -#include <linux/of_device.h> #include <linux/spi/spi.h> #include <linux/iio/iio.h> #include <linux/iio/sysfs.h>
Signature · 1 line
2.34.1
Quoted 4 lines · On Wed, 2 Feb 2022 22:53:28 +0200 Andy Shevchenko…
There is nothing directly using of specific interfaces in this driver, so lets not include the headers.
Signed-off-by Andy Shevchenko <[email protected]>
Applied,
Thanks,
J
Quoted 23 lines
--- drivers/iio/temperature/maxim_thermocouple.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)drivers/iio/temperature/maxim_thermocouple.c +2
-3@@ -6,12 +6,11 @@* Author: <[email protected]> */ -#include <linux/module.h> #include <linux/init.h> +#include <linux/mod_devicetable.h> +#include <linux/module.h> #include <linux/mutex.h> #include <linux/err.h> -#include <linux/of.h> -#include <linux/of_device.h> #include <linux/spi/spi.h> #include <linux/iio/iio.h> #include <linux/iio/sysfs.h>