pinctrl: moorefield: Replace kernel.h by what is actually being used
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 3 Oct 2023 12:10:11 +0000 (15:10 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 3 Oct 2023 13:29:31 +0000 (16:29 +0300)
The kernel.h is a mess of unrelated things and we only used it
as a proxy to array_size.h, hence switch from former to the latter.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/pinctrl/intel/pinctrl-moorefield.c

index 807a694b818be978a9544105e5958c64a8cb3c06..7b995fbf5c84b65251ac64c9ee4b0d6f99047732 100644 (file)
@@ -6,8 +6,8 @@
  * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  */
 
+#include <linux/array_size.h>
 #include <linux/init.h>
-#include <linux/kernel.h>
 #include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>