mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
HID: wacom: cleanup input devices
Just some cleaning up when the input devices are unregistered. Signed-off-by: Benjamin Tissoires <[email protected]> Acked-by: Ping Cheng <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
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