summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2024-09-10 03:01:33 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-04 13:15:55 +0200
commit1ec46bf0e48a46e181f5c8efb4732127e2fddeee (patch)
treef0453ae1f82c8f1b2fb807c8c80e34b5fe7cce1d /drivers/input
parentInput: xilinx_ps2 - use guard notation when acquiring spinlock (diff)
downloadlinux-1ec46bf0e48a46e181f5c8efb4732127e2fddeee.tar.xz
linux-1ec46bf0e48a46e181f5c8efb4732127e2fddeee.zip
Input: matrix_keypad - remove duplicated include
The header files consumer.h is included twice in matrix_keypad.c, so one inclusion of each can be removed. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=10823 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Link: https://lore.kernel.org/r/20240910010133.44579-1-yang.lee@linux.alibaba.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/keyboard/matrix_keypad.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/keyboard/matrix_keypad.c b/drivers/input/keyboard/matrix_keypad.c
index a6bccb28d079..2a3b3bfc2878 100644
--- a/drivers/input/keyboard/matrix_keypad.c
+++ b/drivers/input/keyboard/matrix_keypad.c
@@ -17,7 +17,6 @@
#include <linux/jiffies.h>
#include <linux/module.h>
#include <linux/gpio.h>
-#include <linux/gpio/consumer.h>
#include <linux/input/matrix_keypad.h>
#include <linux/slab.h>
#include <linux/of.h>