summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-asus.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2018-03-20 12:04:49 +0100
committerJiri Kosina <jkosina@suse.cz>2018-03-23 15:44:57 +0100
commit39335d1cbb8fb3260ac5f18fbcc45beb690e5ebd (patch)
tree1b72589f90d97385d998d28d97a86f6466988b6c /drivers/hid/hid-asus.c
parentc30e5989d6926c5c1c77c87ed1e54f506e095d74 (diff)
downloadblackbird-op-linux-39335d1cbb8fb3260ac5f18fbcc45beb690e5ebd.tar.gz
blackbird-op-linux-39335d1cbb8fb3260ac5f18fbcc45beb690e5ebd.zip
HID: core: remove the need for HID_QUIRK_NO_EMPTY_INPUT
There is no real point of registering an empty input node. This should be default, but given some drivers need the blank input node to set it up during input_configured, we need to postpone the check for hidinput_has_been_populated(). Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-asus.c')
-rw-r--r--drivers/hid/hid-asus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hid/hid-asus.c b/drivers/hid/hid-asus.c
index 88b9703318e4..cc738ebf93ac 100644
--- a/drivers/hid/hid-asus.c
+++ b/drivers/hid/hid-asus.c
@@ -644,8 +644,7 @@ static int asus_probe(struct hid_device *hdev, const struct hid_device_id *id)
* All functionality is on a single HID interface and for
* userspace the touchpad must be a separate input_dev.
*/
- hdev->quirks |= HID_QUIRK_MULTI_INPUT |
- HID_QUIRK_NO_EMPTY_INPUT;
+ hdev->quirks |= HID_QUIRK_MULTI_INPUT;
drvdata->tp = &asus_t100chi_tp;
}
OpenPOWER on IntegriCloud