commit | 0fd72ff92d6bea32bba612744abbe6a0abd25e43 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jun 24 17:27:43 2015 +0300 |
committer | Jiri Kosina <jkosina@suse.cz> | Fri Jun 26 14:07:45 2015 +0200 |
tree | b72ae44db2ca1bfad59a1e968955cb66ae5096fd | |
parent | 67db8a8086e9b865533348954f5547f1e433101e [diff] |
HID: wacom: NULL dereferences on error in probe() We can't pass a NULL to input_unregister_device(). Fixes: 2a6cdbdd4cc0 ('HID: wacom: Introduce new 'touch_input' device') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>