Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: st-keyscan - add missing linux/input.h and linux/of.h includes

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.

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

+6 -4
+6 -4
drivers/input/keyboard/st-keyscan.c
··· 8 8 * Based on sh_keysc.c, copyright 2008 Magnus Damm 9 9 */ 10 10 11 - #include <linux/module.h> 12 - #include <linux/interrupt.h> 13 - #include <linux/platform_device.h> 14 11 #include <linux/clk.h> 15 - #include <linux/io.h> 12 + #include <linux/input.h> 16 13 #include <linux/input/matrix_keypad.h> 14 + #include <linux/io.h> 15 + #include <linux/interrupt.h> 16 + #include <linux/module.h> 17 + #include <linux/of.h> 18 + #include <linux/platform_device.h> 17 19 18 20 #define ST_KEYSCAN_MAXKEYS 16 19 21