summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/intel/pinctrl-baytrail.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-10-03 14:10:11 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-10-03 15:29:30 +0200
commita4877a858e80a559b6c0de81bd81d0037dbce5b6 (patch)
tree6c9ef0f1c6f7c96d975fdff619cacad20791ab50 /drivers/pinctrl/intel/pinctrl-baytrail.c
parentMerge patch series "Drop runtime PM support for Baytrail and Lynxpoint pinctrl" (diff)
downloadlinux-a4877a858e80a559b6c0de81bd81d0037dbce5b6.tar.xz
linux-a4877a858e80a559b6c0de81bd81d0037dbce5b6.zip
pinctrl: baytrail: Replace kernel.h by what is actually being used
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>
Diffstat (limited to 'drivers/pinctrl/intel/pinctrl-baytrail.c')
-rw-r--r--drivers/pinctrl/intel/pinctrl-baytrail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-baytrail.c b/drivers/pinctrl/intel/pinctrl-baytrail.c
index c9a9bc594c63..3cd0798ee631 100644
--- a/drivers/pinctrl/intel/pinctrl-baytrail.c
+++ b/drivers/pinctrl/intel/pinctrl-baytrail.c
@@ -7,12 +7,12 @@
*/
#include <linux/acpi.h>
+#include <linux/array_size.h>
#include <linux/bitops.h>
#include <linux/gpio/driver.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
-#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/platform_device.h>