Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1587511
| From | Michał Kępień <kernel@kempniu.pl> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 4/4] platform/x86: intel-hid: remove redundant set_bit() call |
| Date | 2017-02-24 11:40 +0100 |
| Message-ID | <tels6-7i4-27@gated-at.bofh.it> (permalink) |
| References | <tels5-7i4-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Remove redundant set_bit() call for KEY_RFKILL as it is already made by sparse_keymap_setup() due to KEY_RFKILL being assigned to event code 8 in intel_hid_keymap. Signed-off-by: Michał Kępień <kernel@kempniu.pl> --- drivers/platform/x86/intel-hid.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/intel-hid.c b/drivers/platform/x86/intel-hid.c index b17f33b832c2..5eab31659cba 100644 --- a/drivers/platform/x86/intel-hid.c +++ b/drivers/platform/x86/intel-hid.c @@ -155,7 +155,6 @@ static int intel_hid_input_setup(struct platform_device *device) priv->input_dev->dev.parent = &device->dev; priv->input_dev->name = "Intel HID events"; priv->input_dev->id.bustype = BUS_HOST; - set_bit(KEY_RFKILL, priv->input_dev->keybit); return input_register_device(priv->input_dev); } -- 2.11.1
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/4] Improve intel-hid's self-consistency Michał Kępień <kernel@kempniu.pl> - 2017-02-24 11:40 +0100 [PATCH 1/4] platform/x86: intel-hid: simplify enabling/disabling HID events Michał Kępień <kernel@kempniu.pl> - 2017-02-24 11:40 +0100 [PATCH 3/4] platform/x86: intel-hid: use devm_input_allocate_device() for HID events input device Michał Kępień <kernel@kempniu.pl> - 2017-02-24 11:40 +0100 [PATCH 4/4] platform/x86: intel-hid: remove redundant set_bit() call Michał Kępień <kernel@kempniu.pl> - 2017-02-24 11:40 +0100
csiph-web