diff options
author | Hans de Goede <hdegoede@redhat.com> | 2021-03-25 13:32:55 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-04-07 19:47:13 +0200 |
commit | dff935f006c33ab3b849d8b253df7e2cfc502a40 (patch) | |
tree | 6d55dacc69a165095408b9c0f50fd0738d747f42 /drivers/platform/x86 | |
parent | ce357fd34f94bb5aff5443987c1e4fd39b8aae37 (diff) |
platform/x86: intel-vbtn: Remove unused KEYMAP_LEN define
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
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r-- | drivers/platform/x86/intel-vbtn.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/platform/x86/intel-vbtn.c b/drivers/platform/x86/intel-vbtn.c index 3fdf4cbec9ad..888a764efad1 100644 --- 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; |