HID: wacom: NULL dereferences on error in probe()
We can't pass a NULL to input_unregister_device(). Fixes: 2a6cdbdd ('HID: wacom: Introduce new 'touch_input' device') Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NJason Gerecke <jason.gerecke@wacom.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
Showing
想要评论请 注册 或 登录