projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce357fd
)
platform/x86: intel-vbtn: Remove unused KEYMAP_LEN define
author
Hans de Goede
<hdegoede@redhat.com>
Thu, 25 Mar 2021 12:32:55 +0000
(13:32 +0100)
committer
Hans de Goede
<hdegoede@redhat.com>
Wed, 7 Apr 2021 17:47:13 +0000
(19:47 +0200)
Now that we have 2 separate input_dev-s for the buttons and the switches,
this is no longer used, remove it.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link:
https://lore.kernel.org/r/20210325123255.73103-1-hdegoede@redhat.com
drivers/platform/x86/intel-vbtn.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/x86/intel-vbtn.c
b/drivers/platform/x86/intel-vbtn.c
index 3fdf4cbec9ad2d7803ea85fdce689d482f602168..888a764efad1ac1b42527c4e457c1262e836c6a7 100644
(file)
--- a/
drivers/platform/x86/intel-vbtn.c
+++ b/
drivers/platform/x86/intel-vbtn.c
@@
-63,9
+63,6
@@
static const struct key_entry intel_vbtn_switchmap[] = {
{ KE_END }
};
-#define KEYMAP_LEN \
- (ARRAY_SIZE(intel_vbtn_keymap) + ARRAY_SIZE(intel_vbtn_switchmap) + 1)
-
struct intel_vbtn_priv {
struct input_dev *buttons_dev;
struct input_dev *switches_dev;