HID: asus: Fix keyboard support
authorBrendan McGrath <redmcg@redmandi.dyndns.org>
Sat, 10 Dec 2016 10:20:42 +0000 (21:20 +1100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 19 Dec 2016 10:27:09 +0000 (11:27 +0100)
commitc8b1b3dd89ea7b3f77a73e59c4c4495e16338e15
treec0c3a4c68fb3ae659406207712a576b10267eb71
parentf39fdf2ab846ecc636d6272b47f28a05a2052a14
HID: asus: Fix keyboard support

The previous submission which added Touchpad support broke the
Keyboard support of this driver. This patch:
1. fixes the Keyboard support (by assigning drvdata->input);
2. renames NOTEBOOK_QUIRKS to KEYBOARD_QUIRKS;
3. adds the NO_INIT_REPORT quirk to the KEYBOARD_QUIRKS; and
4. sets the input->name to 'Asus Keyboard' for the keyboard

Signed-off-by: Brendan McGrath <redmcg@redmandi.dyndns.org>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-asus.c