mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
HID: wacom: cleanup input devices
Just some cleaning up when the input devices are unregistered. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Acked-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
fd5f92b6d3
commit
17f28470f4
1 changed files with 3 additions and 0 deletions
|
@ -1357,6 +1357,9 @@ static void wacom_clean_inputs(struct wacom *wacom)
|
|||
wacom->wacom_wac.pen_input = NULL;
|
||||
wacom->wacom_wac.touch_input = NULL;
|
||||
wacom->wacom_wac.pad_input = NULL;
|
||||
wacom->wacom_wac.pen_registered = false;
|
||||
wacom->wacom_wac.touch_registered = false;
|
||||
wacom->wacom_wac.pad_registered = false;
|
||||
wacom_destroy_leds(wacom);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue