]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Input: lm8333 - add missing linux/input.h include
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 23 Sep 2022 19:47:34 +0000 (12:47 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 26 Sep 2022 15:13:24 +0000 (08:13 -0700)
We are going to clean up matrix_keymap.h from unnecessary includes,
so the driver needs to include API that it uses directly.

Also let's sort includes alphabetically and drop unneeded irq.h

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220923194738.927408-1-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/lm8333.c

index 9dac22c141252b54b4b45364ea74db6d395e2e5d..3052cd6dedacd55df78c102033c575f3e1b0f150 100644 (file)
@@ -4,13 +4,13 @@
  * Copyright (C) 2012 Wolfram Sang, Pengutronix <kernel@pengutronix.de>
  */
 
-#include <linux/module.h>
-#include <linux/slab.h>
-#include <linux/irq.h>
 #include <linux/i2c.h>
-#include <linux/interrupt.h>
+#include <linux/input.h>
 #include <linux/input/matrix_keypad.h>
 #include <linux/input/lm8333.h>
+#include <linux/interrupt.h>
+#include <linux/module.h>
+#include <linux/slab.h>
 
 #define LM8333_FIFO_READ               0x20
 #define LM8333_DEBOUNCE                        0x22