Skip to content

Commit b5f5cbe

Browse files
author
Bartosz Golaszewski
committed
gpio: sim: drop kernel.h include
We included kernel.h for ARRAY_SIZE() which has since been moved into its own header. Use it instead. Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20240610140548.35358-3-brgl@bgdev.pl Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
1 parent 8a05de2 commit b5f5cbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpio/gpio-sim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
99

10+
#include <linux/array_size.h>
1011
#include <linux/bitmap.h>
1112
#include <linux/cleanup.h>
1213
#include <linux/completion.h>
@@ -20,7 +21,6 @@
2021
#include <linux/interrupt.h>
2122
#include <linux/irq.h>
2223
#include <linux/irq_sim.h>
23-
#include <linux/kernel.h>
2424
#include <linux/list.h>
2525
#include <linux/lockdep.h>
2626
#include <linux/minmax.h>

0 commit comments

Comments
 (0)