pinctrl: 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.

While at it, group and sort the headers where it makes sense.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
Andy Shevchenko
2023-10-03 15:10:11 +03:00
parent 3cd39bc3b1
commit 82cc14c993
6 changed files with 26 additions and 20 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
#ifndef __LINUX_PINCTRL_MACHINE_H
#define __LINUX_PINCTRL_MACHINE_H
#include <linux/kernel.h> /* ARRAY_SIZE() */
#include <linux/array_size.h>
#include <linux/pinctrl/pinctrl-state.h>