iio: chemical: bme680: Switch from of headers to mod_devicetable.h
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 3 Feb 2022 12:27:25 +0000 (14:27 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Feb 2022 15:21:08 +0000 (15:21 +0000)
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/20220203122725.75939-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/bme680_spi.c

index cc579a7..0a064a3 100644 (file)
@@ -4,8 +4,8 @@
  *
  * Copyright (C) 2018 Himanshu Jha <himanshujha199640@gmail.com>
  */
+#include <linux/mod_devicetable.h>
 #include <linux/module.h>
-#include <linux/of.h>
 #include <linux/regmap.h>
 #include <linux/spi/spi.h>