mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +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
@ -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 New Issue
Block a user