diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-10-03 14:10:11 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-10-03 15:29:30 +0200 |
commit | 82cc14c9930c7613da2fcb41a8d4f90c8b4cb048 (patch) | |
tree | 4f5b29443f4ea0fd9ac363bbe4b47639b13e0d5e /drivers/pinctrl/pinmux.c | |
parent | kernel.h: Move ARRAY_SIZE() to a separate header (diff) | |
download | linux-82cc14c9930c7613da2fcb41a8d4f90c8b4cb048.tar.xz linux-82cc14c9930c7613da2fcb41a8d4f90c8b4cb048.zip |
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>
Diffstat (limited to 'drivers/pinctrl/pinmux.c')
-rw-r--r-- | drivers/pinctrl/pinmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinmux.c b/drivers/pinctrl/pinmux.c index 2a180a5d64a4..3de81d310aee 100644 --- a/drivers/pinctrl/pinmux.c +++ b/drivers/pinctrl/pinmux.c @@ -12,12 +12,12 @@ */ #define pr_fmt(fmt) "pinmux core: " fmt +#include <linux/array_size.h> #include <linux/ctype.h> #include <linux/debugfs.h> #include <linux/device.h> #include <linux/err.h> #include <linux/init.h> -#include <linux/kernel.h> #include <linux/list.h> #include <linux/module.h> #include <linux/radix-tree.h> |