diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2018-03-20 12:04:49 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-03-23 15:44:57 +0100 |
commit | 39335d1cbb8fb3260ac5f18fbcc45beb690e5ebd (patch) | |
tree | 1b72589f90d97385d998d28d97a86f6466988b6c /drivers/hid/hid-uclogic.c | |
parent | HID: use BIT() macro for quirks too (diff) | |
download | linux-39335d1cbb8fb3260ac5f18fbcc45beb690e5ebd.tar.xz 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-uclogic.c')
-rw-r--r-- | drivers/hid/hid-uclogic.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hid/hid-uclogic.c b/drivers/hid/hid-uclogic.c index e3e6e5c893cc..56b196d60041 100644 --- a/drivers/hid/hid-uclogic.c +++ b/drivers/hid/hid-uclogic.c @@ -946,7 +946,6 @@ static int uclogic_probe(struct hid_device *hdev, * than the pen, so use QUIRK_MULTI_INPUT for all tablets. */ hdev->quirks |= HID_QUIRK_MULTI_INPUT; - hdev->quirks |= HID_QUIRK_NO_EMPTY_INPUT; /* Allocate and assign driver data */ drvdata = devm_kzalloc(&hdev->dev, sizeof(*drvdata), GFP_KERNEL); |